diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-07 13:47:11 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-07 13:47:11 +0000 |
| commit | d28f055395149ecf0168643ab6d37b694160606f (patch) | |
| tree | bc2d2fc73cb83b43e53083fa6aa4b9febf912640 /thread_pthread.c | |
| parent | e7766df532b56b5ac35a5b87a0068a8ea2a4953f (diff) | |
| download | ruby-d28f055395149ecf0168643ab6d37b694160606f.tar.gz ruby-d28f055395149ecf0168643ab6d37b694160606f.tar.xz ruby-d28f055395149ecf0168643ab6d37b694160606f.zip | |
* thread_pthread.c (thread_timer): fixed typo.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_pthread.c')
| -rw-r--r-- | thread_pthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index c49efb338..9456f4992 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -671,7 +671,7 @@ thread_timer(void *dummy) struct timespec ts; pthread_mutex_t lock; - pthread_mutex_initializer(&lock, 0); + pthread_mutex_init(&lock, 0); pthread_mutex_lock(&lock); #define WAIT_FOR_10MS() (pthread_cond_timedwait(&timer_thread_cond, &lock, get_ts(&ts, PER_NANO/100)) == ETIMEDOUT) while (WAIT_FOR_10MS()) { |
