鏡像自
https://github.com/jrcutler/threadless.io.git
已同步 2024-07-07 10:35:49 +00:00
Fixing uninitialized coroutine status
此提交包含在:
@ -86,6 +86,7 @@ coroutine_t *coroutine_create(allocator_t *allocator,
|
||||
coro = allocation.memory;
|
||||
memset(coro, 0, alloc_size);
|
||||
coro->allocation = allocation;
|
||||
coro->status = 0;
|
||||
coro->deferred = NULL;
|
||||
(void) getcontext(&coro->context);
|
||||
coro->context.uc_stack.ss_sp = coro + 1;
|
||||
|
新增問題並參考
封鎖使用者