Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove pthread_suspend* and related functions. This is part of the | 2012-03-22 | 1 | -8/+1 | |
| | | | | rthreads major library bump from last night. okay kettenis@ | ||||
* | Clean up unnecessary prototypes. Pointed out by brad@ | 2012-03-20 | 1 | -7/+1 | |
| | |||||
* | fix check when setting the contention scope. harmless atm but still wrong. | 2012-03-02 | 1 | -2/+2 | |
| | | | | guenther@ ok. | ||||
* | Fix problems revealed by regress/lib/libpthread/stack/stack.c | 2012-02-19 | 1 | -11/+8 | |
| | |||||
* | Validate in pthread_attr_set{scope,sched{param,policy},inheritsched}() | 2012-02-19 | 1 | -2/+4 | |
| | | | | the requested new value | ||||
* | Fix previous commit: _rthread_init() was static. | 2012-02-18 | 1 | -12/+18 | |
| | | | | Improve consistency of error naming | ||||
* | Before using _thread_pagesize, make sure _rthread_init() has been called | 2012-02-18 | 1 | -1/+5 | |
| | |||||
* | Fix the handling of the stackaddr, stacksize, and guardsize attributes: | 2012-02-18 | 1 | -25/+14 | |
| | | | | | | | | | | | don't try to merge values, round the sizes separately, and don't try to unmap application-supplied stacks. Copy from uthread the caching of default-sized stacks. Have pthread_attr_init() and pthread_create() get the default attributes from staticly allocated pthread_attr_t. Cache the pagesize in _rthread_init() and provide a macro for rounding to it based on suggestions from kettenis@ and tedu@, ok kettenis@ | ||||
* | Initialize the scope, policy, and inherit members in pthread_attr_init() | 2012-02-18 | 1 | -1/+4 | |
| | | | | | | so that their pthread_attr_get* don't return bogus values. issue noted and tested by aja@ | ||||
* | Move <machine/spinlock.h> into rthread.h; strip out unnecessary #includes | 2011-11-06 | 1 | -10/+1 | |
| | |||||
* | use calloc() instead of malloc() and memset() | 2008-10-13 | 1 | -3/+2 | |
| | | | | "look good" tedu@ | ||||
* | Remove redundant mprotect() calls (we're unmapping the region anyway) | 2006-01-05 | 1 | -2/+12 | |
| | | | | and check user stack for proper alignment. ok tedu@ marc@ | ||||
* | add -Wstrict-prototypes -Wmissing-prototypes -Wsign-compare | 2006-01-05 | 1 | -1/+8 | |
| | | | | | | Minor tweaks to compile with the above, primarily in fixing the conflicts between semaphore.h and rthread.h "i like the additional warnings" tedu@ | ||||
* | allow threads to be created in a detached state | 2006-01-04 | 1 | -4/+9 | |
| | | | | | do not allow a join to a detached thread "it looks good" otto@ | ||||
* | thread stack handling changes. Add guard zones and allow stack | 2006-01-01 | 1 | -4/+45 | |
| | | | | | | | | 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@ | ||||
* | Implement suspend/resume and creation of initially suspended threads. | 2005-12-31 | 1 | -1/+9 | |
| | | | | | With this, java seems to be operational. Also make threads_ready non-static, which is needed for an upcoming diff. ok tedu@ | ||||
* | update copyright to 2005 | 2005-12-19 | 1 | -2/+2 | |
| | |||||
* | add pthread_get/set_concurrency (useless for now) | 2005-12-19 | 1 | -2/+36 | |
| | | | | add pthread_get/set_stack[addr] (info not used yet) | ||||
* | add userland thread library. incomplete, but functional | 2005-12-03 | 1 | -0/+109 | |