summaryrefslogtreecommitdiffstats
path: root/lib/libkse/thread/thr_create.c
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2003-09-14 22:39:44 +0000
committerdavidxu <davidxu@FreeBSD.org>2003-09-14 22:39:44 +0000
commitb622332e18b29fb3d634953210ec0be4db366373 (patch)
treee7ea22439446d401f0fb1dbd32800ea86c76308d /lib/libkse/thread/thr_create.c
parent5b99feb20561244587f5f8e73a977ae420b42fdf (diff)
downloadFreeBSD-src-b622332e18b29fb3d634953210ec0be4db366373.zip
FreeBSD-src-b622332e18b29fb3d634953210ec0be4db366373.tar.gz
Respect POSIX specification, a value return from pthread_attr_getguardsize
should be a value past to pthread_attr_setguardsize, not a rounded up value. Also fix a stack size matching bug in thr_stack.c, now stack matching code uses number of pages but not bytes length to match stack size, so for example, size 512 bytes and size 513 bytes should both match 1 page stack size. Reviewed by: deischen
Diffstat (limited to 'lib/libkse/thread/thr_create.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud