Sign in
third-party-mirror
/
GRTEv4
/
262be5abc585813b1766119db73641d44ba3741e
/
.
/
google3
/
third_party
/
grte
/
v4_src
/
glibc-2.19
/
nptl
/
sysdeps
/
unix
/
sysv
/
linux
/
powerpc
/
pthread_attr_setstacksize.c
blob: 6fedac1b33515d739e6348c5a4fe7be01729b1fd [
file
] [
log
] [
blame
]
#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
>