File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
system/lib/libc/musl/src/internal Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ extern hidden unsigned __default_guardsize;
251
251
252
252
#ifdef __EMSCRIPTEN__
253
253
// Keep in sync with DEFAULT_PTHREAD_STACK_SIZE in settings.js
254
- #define DEFAULT_STACK_SIZE (2*1024 *1024)
254
+ #define DEFAULT_STACK_SIZE (64 *1024)
255
255
#else
256
256
#define DEFAULT_STACK_SIZE 131072
257
257
#endif
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ int main() {
8
8
size_t stacksize ;
9
9
pthread_attr_getstacksize (& attr , & stacksize );
10
10
printf ("%zu\n" , stacksize );
11
- // Should match DEFAULT_PTHREAD_STACK_SIZE = 2*1024 *1024;
12
- assert (stacksize == 2 * 1024 * 1024 );
11
+ // Should match DEFAULT_PTHREAD_STACK_SIZE = 64 *1024;
12
+ assert (stacksize == 64 * 1024 );
13
13
return 0 ;
14
14
}
You can’t perform that action at this time.
0 commit comments