diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-28 12:27:43 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-28 12:27:43 +0000 |
| commit | 1af3a84f0d2ff06b37564d41841afcd2ed69c390 (patch) | |
| tree | e255fcb031ce80fd4810454b0b7ee99c34e8dbda /thread_win32.c | |
| parent | 892ff56184c4168a0774099c60efa033f7f1bc08 (diff) | |
| download | ruby-1af3a84f0d2ff06b37564d41841afcd2ed69c390.tar.gz ruby-1af3a84f0d2ff06b37564d41841afcd2ed69c390.tar.xz ruby-1af3a84f0d2ff06b37564d41841afcd2ed69c390.zip | |
* thread_win32.[ch] (cond_every_entry, rb_thread_cond_struct): reverted
r18239 because r18245 made the changes unnecessary.
* thread.c (rb_mutex_struct): define after including thread_{pthread,
win32}.c.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_win32.c')
| -rw-r--r-- | thread_win32.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/thread_win32.c b/thread_win32.c index 3654663cc..9241d274b 100644 --- a/thread_win32.c +++ b/thread_win32.c @@ -333,6 +333,16 @@ native_mutex_destroy(rb_thread_lock_t *lock) #endif } +struct cond_event_entry { + struct cond_event_entry* next; + HANDLE event; +}; + +struct rb_thread_cond_struct { + struct cond_event_entry *next; + struct cond_event_entry *last; +}; + static void native_cond_signal(rb_thread_cond_t *cond) { |
