summaryrefslogtreecommitdiff
path: root/thread_win32.c
diff options
context:
space:
mode:
authorYuta Saito <[email protected]>2022-01-16 00:37:09 +0900
committerYuta Saito <[email protected]>2022-01-19 11:19:06 +0900
commitd6d52a7d049fd802b37d0f594629bad2cdc6b8c2 ()
treeb6f0efdba5823ace0919289ba8a4e7a06adf8b35 /thread_win32.c
parentbf1c4d254beb0e01fac1d9e6cb805de8ec6260eb (diff)
thread.c: put platform specific part in each impl file
Notes: Merged: https://.com/ruby/ruby/pull/5407
-rw-r--r--thread_win32.c6
1 files changed, 6 insertions, 0 deletions
@@ -25,6 +25,12 @@
#define ubf_timer_disarm() do {} while (0)
#define ubf_list_atfork() do {} while (0)
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);