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 /coroutine/x86 | |
parent | 9c9531950c007872d7726f050a1dc0cb6f8f0490 (diff) |
Replace copy coroutine with pthread implementation.
Diffstat (limited to 'coroutine/x86')
-rw-r--r-- | coroutine/x86/Context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/coroutine/x86/Context.h b/coroutine/x86/Context.h index 1d709fa98d..d98eaf6486 100644 --- a/coroutine/x86/Context.h +++ b/coroutine/x86/Context.h @@ -23,6 +23,7 @@ enum {COROUTINE_REGISTERS = 4}; struct coroutine_context { void **stack_pointer; + void *argument; }; typedef COROUTINE(* coroutine_start)(struct coroutine_context *from, struct coroutine_context *self) __attribute__((fastcall)); |