blob: 6fedac1b33515d739e6348c5a4fe7be01729b1fd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#include <unistd.h> /* For __getpagesize. */
#define NEW_VERNUM GLIBC_2_6
#define STACKSIZE_ADJUST \
do { \
size_t ps = __getpagesize (); \
if (stacksize < 2 * ps) \
stacksize = 2 * ps; \
} while (0)
#include <nptl/pthread_attr_setstacksize.c>
|