Skip to content

Commit 903f521

Browse files
authored
Increase stack size in the example app (bytecodealliance#1880)
1 parent 0e2382a commit 903f521

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/wasi-threads/wasm-apps/wasi_thread_start.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#ifndef WASI_THREAD_START_H
66
#define WASI_THREAD_START_H
77

8-
#define STACK_SIZE 1024
8+
#define STACK_SIZE 32 * 1024 // same as the main stack
99

1010
typedef struct {
1111
void *stack;

0 commit comments

Comments
 (0)