diff options
author | davidxu <davidxu@FreeBSD.org> | 2003-09-14 22:39:44 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2003-09-14 22:39:44 +0000 |
commit | b622332e18b29fb3d634953210ec0be4db366373 (patch) | |
tree | e7ea22439446d401f0fb1dbd32800ea86c76308d /lib/libkse/thread/thr_create.c | |
parent | 5b99feb20561244587f5f8e73a977ae420b42fdf (diff) | |
download | FreeBSD-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