Pārlūkot izejas kodu

Increase stack size in the example app (#1880)

Marcin Kolny 3 gadi atpakaļ
vecāks
revīzija
903f5212f1
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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
 #define WASI_THREAD_START_H
 
-#define STACK_SIZE 1024
+#define STACK_SIZE 32 * 1024 // same as the main stack
 
 typedef struct {
     void *stack;