summaryrefslogtreecommitdiffstats
path: root/lib/librthread/rthread_stack.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* If the stack size attribute isn't larger than the guard-page sizeguenther2010-05-261-1/+3
| | | | | | attribute then make pthread_create() return EINVAL instead of whatever was in errno on entry (possibly making it appear it succeeded when it really failed). Encountered by Jung (moorang at gmail.com).
* two comment typos from tberttedu2006-10-271-2/+2
|
* Remove redundant mprotect() calls (we're unmapping the region anyway)otto2006-01-051-5/+1
| | | | and check user stack for proper alignment. ok tedu@ marc@
* thread stack handling changes. Add guard zones and allow stackmarc2006-01-011-0/+92
size (and guard zone size) to be set using pthread_attr. Guard zones are specified in bytes, but implemented in terms of a page size. OK Otto@