am 1596b884: Merge "Increase minimum thread size for 64 bit."
* commit '1596b884648642ad09f87d2a0dc4db47f037b6d7': Increase minimum thread size for 64 bit.
This commit is contained in:
commit
493cfc338b
@ -35,7 +35,7 @@
|
||||
#include <limits.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#ifdef __LP64__
|
||||
#if defined(__LP64__)
|
||||
#define __RESERVED_INITIALIZER , {0}
|
||||
#else
|
||||
#define __RESERVED_INITIALIZER
|
||||
@ -112,7 +112,11 @@ typedef volatile int pthread_once_t;
|
||||
|
||||
#define PTHREAD_ONCE_INIT 0
|
||||
|
||||
#if defined(__LP64__)
|
||||
#define PTHREAD_STACK_MIN (4 * PAGE_SIZE)
|
||||
#else
|
||||
#define PTHREAD_STACK_MIN (2 * PAGE_SIZE)
|
||||
#endif
|
||||
|
||||
#define PTHREAD_CREATE_DETACHED 0x00000001
|
||||
#define PTHREAD_CREATE_JOINABLE 0x00000000
|
||||
|
Loading…
x
Reference in New Issue
Block a user