Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move mutex, condvar, and thread-specific data routes, pthread_once, and | 2017-09-05 | 1 | -1/+13 | |
| | | | | | | | | pthread_exit from libpthread to libc, along with low-level bits to support them. Major bump to both libc and libpthread. Requested by libressl team. Ports testing by naddy@ ok kettenis@ | ||||
* | Delete the duplicated sched_{policy,param} members from the internal struct | 2015-04-29 | 1 | -9/+11 | |
| | | | | | | | | pthread and instead use the values from the embedded struct pthread_attr. For bonus points, pay attention to the sched_inherit attribute and possibly set the values from the parent thread. Problem noted by natano of bitrig. | ||||
* | Remove pthread_suspend* and related functions. This is part of the | 2012-03-22 | 1 | -50/+1 | |
| | | | | rthreads major library bump from last night. okay kettenis@ | ||||
* | Make pthread_suspend_np() and pthread_resume_np() simply fail instead | 2012-02-21 | 1 | -11/+6 | |
| | | | | of doing the Wrong Thing. | ||||
* | Validate in pthread_attr_set{scope,sched{param,policy},inheritsched}() | 2012-02-19 | 1 | -1/+12 | |
| | | | | the requested new value | ||||
* | pthread_self() may be much cheaper and never more expensive than getthrid() | 2011-12-28 | 1 | -7/+7 | |
| | | | | so prefer it for identifying the current thread | ||||
* | Move <machine/spinlock.h> into rthread.h; strip out unnecessary #includes | 2011-11-06 | 1 | -10/+1 | |
| | |||||
* | When suspending, check the tid of the arg, not of ourselves, doh | 2006-01-06 | 1 | -2/+2 | |
| | |||||
* | Don't call pthread_self()->tid when getthrid() will do fine. | 2006-01-02 | 1 | -2/+2 | |
| | |||||
* | Implement suspend/resume and creation of initially suspended threads. | 2005-12-31 | 1 | -1/+57 | |
| | | | | | With this, java seems to be operational. Also make threads_ready non-static, which is needed for an upcoming diff. ok tedu@ | ||||
* | prototype all the thread syscalls in rthread.h for now. | 2005-12-30 | 1 | -3/+1 | |
| | | | | update for new thrwakeup that takes a count argument | ||||
* | update copyright to 2005 | 2005-12-19 | 1 | -2/+2 | |
| | |||||
* | syscall is actually sched_yield now, as millert suggested | 2005-12-03 | 1 | -10/+3 | |
| | |||||
* | add userland thread library. incomplete, but functional | 2005-12-03 | 1 | -0/+136 | |