summaryrefslogtreecommitdiff
path: root/thread_win32.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-04-29 12:12:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-04-29 12:12:52 +0000
commit5f131b648dfb8b5817ca4c9ad02e9e89da3055f5 (patch)
tree1cc311e036f45e0e88c16c7a11195b4e9abc86ed /thread_win32.c
parentb4c5fad4b1b435f081dd552ad29040a9edb1457f (diff)
* thread_win32.c, include/ruby/win32.h: add prototypes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_win32.c')
-rw-r--r--thread_win32.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/thread_win32.c b/thread_win32.c
index 6d1ba32..e29c6af 100644
--- a/thread_win32.c
+++ b/thread_win32.c
@@ -21,6 +21,10 @@
static volatile DWORD ruby_native_thread_key = TLS_OUT_OF_INDEXES;
+static int w32_wait_events(HANDLE *events, int count, DWORD timeout, rb_thread_t *th);
+static int native_mutex_lock(rb_thread_lock_t *lock);
+static int native_mutex_unlock(rb_thread_lock_t *lock);
+
static void
w32_error(const char *func)
{