Back to index

glibc  2.9
Defines
pthread_attr_setstacksize.c File Reference
#include <unistd.h>
#include <nptl/pthread_attr_setstacksize.c>

Go to the source code of this file.

Defines

#define NEW_VERNUM   GLIBC_2_6
#define STACKSIZE_ADJUST

Define Documentation

#define NEW_VERNUM   GLIBC_2_6

Definition at line 2 of file pthread_attr_setstacksize.c.

Value:
do {                                                                 \
    size_t ps = __getpagesize ();                                    \
    if (stacksize < 2 * ps)                                          \
      stacksize = 2 * ps;                                            \
  } while (0)

Definition at line 3 of file pthread_attr_setstacksize.c.