summaryrefslogtreecommitdiff
path: root/lib/librthread/rthread_attr.c
AgeCommit message (Collapse)Author
2008-10-13use calloc() instead of malloc() and memset()Kevin Lo
"look good" tedu@
2006-01-05Remove redundant mprotect() calls (we're unmapping the region anyway)Otto Moerbeek
and check user stack for proper alignment. ok tedu@ marc@
2006-01-05add -Wstrict-prototypes -Wmissing-prototypes -Wsign-compareMarco S Hyman
Minor tweaks to compile with the above, primarily in fixing the conflicts between semaphore.h and rthread.h "i like the additional warnings" tedu@
2006-01-04allow threads to be created in a detached stateMarco S Hyman
do not allow a join to a detached thread "it looks good" otto@
2006-01-01thread stack handling changes. Add guard zones and allow stackMarco S Hyman
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@
2005-12-31Implement suspend/resume and creation of initially suspended threads.Otto Moerbeek
With this, java seems to be operational. Also make threads_ready non-static, which is needed for an upcoming diff. ok tedu@
2005-12-19update copyright to 2005Ted Unangst
2005-12-19add pthread_get/set_concurrency (useless for now)Ted Unangst
add pthread_get/set_stack[addr] (info not used yet)
2005-12-03add userland thread library. incomplete, but functionalTed Unangst