aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_umtx.c
Commit message (Expand)AuthorAgeFilesLines
* Allocate umtx_q from heap instead of stack, this avoidsDavid Xu2005-03-051-34/+46
* Revert my previous errno hack, that is certainly an issue,David Xu2005-01-181-2/+1
* make umtx timeout relative so userland can select different clock type,David Xu2005-01-141-46/+51
* Comment out debugging printf which doesn't compile on amd64.Poul-Henning Kamp2005-01-121-0/+2
* Let _umtx_op directly return error code rather than from errno becauseDavid Xu2005-01-121-12/+23
* Break out of loop earlier if it is not timeout.David Xu2005-01-081-1/+1
* /* -> /*- for copyright notices, minor format tweaks as necessaryWarner Losh2005-01-061-1/+1
* Return ETIMEDOUT when thread is timeouted since POSIX threadDavid Xu2005-01-061-5/+7
* Make umtx_wait and umtx_wake more like linux futex does, it isDavid Xu2004-12-301-41/+9
* Make _umtx_op() as more general interface, the final parameter needn't beDavid Xu2004-12-251-4/+4
* 1. introduce umtx_owner to get an owner of a umtx.David Xu2004-12-251-3/+1
* Add umtxq_lock/unlock around umtx_signal, fix debug kernel compiling,David Xu2004-12-241-5/+9
* 1. Fix race condition between umtx lock and unlock, heavy testingDavid Xu2004-12-241-133/+104
* 1. msleep returns EWOULDBLOCK not ETIMEDOUT, use EWOULDBLOCK instead.David Xu2004-12-181-8/+6
* 1. make umtx sharable between processes, the way is two or more processesDavid Xu2004-12-181-170/+544
* Forgot to inline umtxq_unlock.David Xu2004-11-301-1/+1
* 1. use per-chain mutex instead of global mutex to reduceDavid Xu2004-11-301-115/+212
* writers must hold both sched_lock and the process lock; therefore, readersMike Makonnen2004-07-121-5/+3
* Change the thread ID (thr_id_t) used for 1:1 threading from being aMarcel Moolenaar2004-07-021-3/+5
* Use the proc lock to sleep on a libthr umtx.Mike Makonnen2004-03-271-2/+6
* Return EINVAL if the contested bit is not set on the umtx passed toTim J. Robbins2003-09-071-1/+2
* Initialize 'blocked' to NULL. I think this was a real problem, but IPeter Wemm2003-07-231-0/+1
* Turn a KASSERT back into an EINVAL return value. So, next time someoneMike Makonnen2003-07-191-2/+4
* Remove a lock held across casuptr() that snuck in last commit.Mike Makonnen2003-07-181-2/+5
* Move the decision on whether to unset the contestedMike Makonnen2003-07-181-48/+40
* Fix umtx locking, for libthr, in the kernel.Mike Makonnen2003-07-171-24/+47
* I was so happy I found the semi-colon from hell that I didn'tMike Makonnen2003-07-041-1/+1
* It's unfair how one extraneous semi-colon can cause so much grief.Mike Makonnen2003-07-041-1/+1
* Use __FBSDID().David E. O'Brien2003-06-111-3/+3
* - Remove the blocked pointer from the umtx structure.Jeff Roberson2003-06-031-171/+163
* - Create a new lock, umtx_lock, for use instead of the proc lock forJeff Roberson2003-05-251-6/+13
* - Make casuptr return the old value of the location we're trying to update,Jake Burkholder2003-04-021-10/+13
* - Add an api for doing smp safe locks in userland.Jeff Roberson2003-04-011-0/+303