Browse Source

Increase stack size in the example app (#1880)

Marcin Kolny 3 years ago
parent
commit
903f5212f1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      samples/wasi-threads/wasm-apps/wasi_thread_start.h

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

@@ -5,7 +5,7 @@
 #ifndef WASI_THREAD_START_H
 #ifndef WASI_THREAD_START_H
 #define WASI_THREAD_START_H
 #define WASI_THREAD_START_H
 
 
-#define STACK_SIZE 1024
+#define STACK_SIZE 32 * 1024 // same as the main stack
 
 
 typedef struct {
 typedef struct {
     void *stack;
     void *stack;