1
0
Fork 0
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:
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

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