Replace copy coroutine with pthread implementation.

This commit is contained in:
Samuel Williams 2021-06-26 10:17:26 +12:00
parent 9c9531950c
commit 42130a64f0
No known key found for this signature in database
GPG key ID: A0765423A44728FB
30 changed files with 492 additions and 449 deletions

View file

@ -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) {