summaryrefslogtreecommitdiffstats
path: root/thread_pthread.ci
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-05 04:25:10 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-05 04:25:10 +0000
commit96179d4cf59ded924e31f9b6c579bdfbcf9de490 (patch)
tree96eef7127faf2419d14216d506c98bae49fd45a5 /thread_pthread.ci
parent6eb8cd2c0bede8176514052471e62b67f34d91ff (diff)
downloadruby-96179d4cf59ded924e31f9b6c579bdfbcf9de490.tar.gz
ruby-96179d4cf59ded924e31f9b6c579bdfbcf9de490.tar.xz
ruby-96179d4cf59ded924e31f9b6c579bdfbcf9de490.zip
* compile.c, dir.c, eval.c, eval_jump.h, eval_method.h, numeric.c,
pack.c, parse.y, re.c, thread.c, vm.c, vm_dump.c, call_cfunc.ci, thread_pthread.ci, thread_win32.ci: fixed indentation. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_pthread.ci')
-rw-r--r--thread_pthread.ci4
1 files changed, 2 insertions, 2 deletions
diff --git a/thread_pthread.ci b/thread_pthread.ci
index 43dac0be5..87cbc26e5 100644
--- a/thread_pthread.ci
+++ b/thread_pthread.ci
@@ -150,7 +150,7 @@ register_cached_thread_and_wait(void)
gettimeofday(&tv, 0);
ts.tv_sec = tv.tv_sec + 60;
ts.tv_nsec = tv.tv_usec * 1000;
-
+
pthread_mutex_lock(&thread_cache_lock);
{
entry->th_area = &th_area;
@@ -335,7 +335,7 @@ native_sleep(rb_thread_t *th, struct timeval *tv)
ts.tv_nsec -= 1000000000;
}
}
-
+
th->status = THREAD_STOPPED;
pthread_cond_init(&th->native_thread_data.sleep_cond, 0);