diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-17 07:21:03 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-17 07:21:03 +0000 |
commit | cdeff42cc1838fe71d562c6bd96e2437a3e90170 () | |
tree | 38b7ec8772ed4c341d722cd6f7c2ac2e9257a479 /thread_win32.h | |
parent | 3c5664563446185c0b7d95de013d47b766122ba8 (diff) |
thread_win32.h: rb_thread_lock_t for USE_WIN32_MUTEX
* thread_win32.h (rb_thread_lock_t): make a union for USE_WIN32_MUTEX. this internal is used only in thread_win32.c, but has to be complete to define rb_thread_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | thread_win32.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -22,7 +22,12 @@ WINBASEAPI BOOL WINAPI TryEnterCriticalSection(IN OUT LPCRITICAL_SECTION lpCriticalSection); typedef HANDLE rb_thread_id_t; -typedef CRITICAL_SECTION rb_thread_lock_t; typedef struct rb_thread_cond_struct { struct cond_event_entry *next; struct cond_event_entry *prev; |