summaryrefslogtreecommitdiffstats
path: root/lib/librthread/rthread.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add "print debug foo" function safe to use in signal handlers, example:marc2005-12-311-1/+3
| | | | | | | | | _rthread_debug(3, "foo = %s", foo); where output is to stderr and will only be printed if the current debug level is >= 3. Messages with a debug level of 0 are always printed. The level can be set from the environment (not enabled yet) or with gdb by modifying variable _rthread_debug_level. "Fine with me" -Otto
* Implement suspend/resume and creation of initially suspended threads.otto2005-12-311-1/+4
| | | | | With this, java seems to be operational. Also make threads_ready non-static, which is needed for an upcoming diff. ok tedu@
* use queue.h macros for thread house keeping; make some vars non-staticotto2005-12-301-2/+8
| | | | and fix a bug in thread creation error path. ok tedu@
* prototype all the thread syscalls in rthread.h for now.tedu2005-12-301-1/+9
| | | | update for new thrwakeup that takes a count argument
* more consistently use _rthread prefix for all not meant to be exportedtedu2005-12-221-2/+2
| | | | interfaces that aren't static, and a few that are but which will change
* Fix hppa ldcw alignment issue.marco2005-12-191-4/+9
| | | | | Help deraadt, tedu, kettenis Ok tedu, kettenis
* update copyright to 2005tedu2005-12-191-2/+2
|
* add pthread_get/set_concurrency (useless for now)tedu2005-12-191-1/+2
| | | | add pthread_get/set_stack[addr] (info not used yet)
* add pthread_cleanup_push and pthread_cleanup_poptedu2005-12-141-1/+8
|
* add bits for pthread_cancel. we don't really have cancellation points yettedu2005-12-141-4/+7
| | | | but some of the functions are here now.
* change keys to use table instead of list, makes a sane destructor implementationtedu2005-12-141-3/+4
| | | | possible
* make the mutex unlock and sleep in pthread_cond_wait properly atomictedu2005-12-131-1/+2
|
* correct implementation of pthread_cond_signal. it doesn't raise the semtedu2005-12-131-1/+2
| | | | value if there are no waiters.
* add userland thread library. incomplete, but functionaltedu2005-12-031-0/+111