From 42130a64f02294dc8025af3a51bda518c67ab33d Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Sat, 26 Jun 2021 10:17:26 +1200 Subject: Replace copy coroutine with pthread implementation. --- coroutine/x86/Context.h | 1 + 1 file changed, 1 insertion(+) (limited to 'coroutine/x86') 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)); -- cgit v1.2.1