diff options
author | Samuel Williams <[email protected]> | 2021-06-26 10:17:26 +1200 |
---|---|---|
committer | Samuel Williams <[email protected]> | 2021-07-01 11:23:03 +1200 |
commit | 42130a64f02294dc8025af3a51bda518c67ab33d (patch) | |
tree | e81c181770e4cc9d3e87e960a25a870e9a4774f5 /thread_pthread.c | |
parent | 9c9531950c007872d7726f050a1dc0cb6f8f0490 (diff) |
Replace copy coroutine with pthread implementation.
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index 4be3f10bf8..36c0b33e00 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -608,7 +608,7 @@ null_func(int i) /* null */ } -static rb_thread_t * +rb_thread_t * ruby_thread_from_native(void) { #ifdef RB_THREAD_LOCAL_SPECIFIER @@ -618,7 +618,7 @@ ruby_thread_from_native(void) #endif } -static int +int ruby_thread_set_native(rb_thread_t *th) { if (th && th->ec) { |