mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
coroutine: add a macro for the coroutine stack size
Signed-off-by: Peter Lieven <pl@kamp.de> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
be87a393f9
commit
8adcd6fb6d
4 changed files with 5 additions and 3 deletions
|
@ -143,7 +143,7 @@ static void coroutine_trampoline(int signal)
|
|||
|
||||
Coroutine *qemu_coroutine_new(void)
|
||||
{
|
||||
const size_t stack_size = 1 << 20;
|
||||
const size_t stack_size = COROUTINE_STACK_SIZE;
|
||||
CoroutineSigAltStack *co;
|
||||
CoroutineThreadState *coTS;
|
||||
struct sigaction sa;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue