aboutsummaryrefslogtreecommitdiffstats
path: root/thread_win32.c
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2021-06-26 10:17:26 +1200
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2021-07-01 11:23:03 +1200
commit42130a64f02294dc8025af3a51bda518c67ab33d (patch)
treee81c181770e4cc9d3e87e960a25a870e9a4774f5 /thread_win32.c
parent9c9531950c007872d7726f050a1dc0cb6f8f0490 (diff)
downloadruby-42130a64f02294dc8025af3a51bda518c67ab33d.tar.gz
Replace copy coroutine with pthread implementation.
Diffstat (limited to 'thread_win32.c')
-rw-r--r--thread_win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/thread_win32.c b/thread_win32.c
index 84b8776418..392c38c947 100644
--- a/thread_win32.c
+++ b/thread_win32.c
@@ -129,13 +129,13 @@ gvl_destroy(rb_global_vm_lock_t *gvl)
CloseHandle(gvl->lock);
}
-static rb_thread_t *
+rb_thread_t *
ruby_thread_from_native(void)
{
return TlsGetValue(ruby_native_thread_key);
}
-static int
+int
ruby_thread_set_native(rb_thread_t *th)
{
if (th && th->ec) {