repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
linux: Add posix_spawnattr_{get, set}cgroup_np (BZ 26371)
[glibc.git]
/
sysdeps
/
unix
/
sysv
/
linux
/
powerpc
/
pthread_attr_setstacksize.c
blob
6fedac1b33515d739e6348c5a4fe7be01729b1fd
1
#include <unistd.h>
/* For __getpagesize. */
2
#define NEW_VERNUM GLIBC_2_6
3
#define STACKSIZE_ADJUST \
4
do { \
5
size_t ps = __getpagesize (); \
6
if (stacksize < 2 * ps) \
7
stacksize = 2 * ps; \
8
} while (0)
9
#include <nptl/pthread_attr_setstacksize.c>