mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05: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
|
@ -23,6 +23,7 @@ enum {COROUTINE_REGISTERS = 8};
|
|||
struct coroutine_context
|
||||
{
|
||||
void **stack_pointer;
|
||||
void *argument;
|
||||
};
|
||||
|
||||
typedef COROUTINE(* coroutine_start)(struct coroutine_context *from, struct coroutine_context *self);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue