Date: Sun, 14 Sep 2003 15:39:44 -0700 (PDT) From: David Xu <davidxu@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libpthread/thread thr_attr_setguardsize.c thr_stack.c Message-ID: <200309142239.h8EMdiCi032969@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
davidxu 2003/09/14 15:39:44 PDT FreeBSD src repository Modified files: lib/libpthread/thread thr_attr_setguardsize.c thr_stack.c Log: 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 Revision Changes Path 1.6 +0 -8 src/lib/libpthread/thread/thr_attr_setguardsize.c 1.8 +18 -8 src/lib/libpthread/thread/thr_stack.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309142239.h8EMdiCi032969>