mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
Replace copy coroutine with pthread implementation.
This commit is contained in:
parent
9c9531950c
commit
42130a64f0
30 changed files with 492 additions and 449 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue