increase default thread stack size to 80k
[musl] / src / internal / pthread_impl.h
index 2348b5d..d67edf2 100644 (file)
@@ -27,8 +27,6 @@ struct pthread {
        uintptr_t canary;
        pid_t tid, pid;
        int tsd_used, errno_val, *errno_ptr;
-       /* All cancellation-related fields must remain together, in order */
-       volatile uintptr_t cp_sp, cp_ip;
        volatile int cancel, canceldisable, cancelasync;
        unsigned char *map_base;
        size_t map_size;
@@ -112,7 +110,7 @@ void __wake(volatile int *, int, int);
 void __synccall_lock();
 void __synccall_unlock();
 
-#define DEFAULT_STACK_SIZE (16384-PAGE_SIZE)
+#define DEFAULT_STACK_SIZE 81920
 #define DEFAULT_GUARD_SIZE PAGE_SIZE
 
 #endif