diff options
Diffstat (limited to 'src/thread/pthread_attr_init.c')
-rw-r--r-- | src/thread/pthread_attr_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/thread/pthread_attr_init.c b/src/thread/pthread_attr_init.c index 969e0a38..8f6e3374 100644 --- a/src/thread/pthread_attr_init.c +++ b/src/thread/pthread_attr_init.c @@ -3,5 +3,7 @@ int pthread_attr_init(pthread_attr_t *a) { *a = (pthread_attr_t){0}; + a->_a_stacksize = DEFAULT_STACK_SIZE; + a->_a_guardsize = DEFAULT_GUARD_SIZE; return 0; } |