aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_sx.c
Commit message (Expand)AuthorAgeFilesLines
* Set the lock type equal to the lock name for now as all of the currentJohn Baldwin2002-04-041-1/+1
* - Add MTX_SYSINIT and SX_SYSINIT as macro glue for allowing sx and mtxAndrew R. Reiter2002-04-021-0/+8
* Invert the test of sx_xholder for SX_LOCKED. We need to warn if aSeigo Tanimura2002-01-181-3/+3
* Update to C99, s/__FUNCTION__/__func__/.David E. O'Brien2001-12-101-3/+3
* Create a mutex pool API for short term leaf mutexes.Matthew Dillon2001-11-131-28/+27
* Fix this to actually compile in the !INVARIANTS case.John Baldwin2001-10-241-0/+8
* Change the sx(9) assertion API to use a sx_assert() function similar toJohn Baldwin2001-10-231-4/+43
* The mtx_init() and sx_init() functions bzero'd locks before handing themJohn Baldwin2001-10-201-1/+3
* KSE Milestone 2Julian Elischer2001-09-121-5/+5
* Use witness_upgrade/downgrade for sx_try_upgrade/downgrade.John Baldwin2001-08-231-8/+6
* Clear the sx_xholder pointer when downgrading an exclusive lock.John Baldwin2001-08-231-0/+1
* Add sx_try_upgrade() and sx_downgrade().Jason Evans2001-08-131-0/+46
* - Add trylock variants of shared and exclusive locks.John Baldwin2001-06-271-4/+42
* - Move state about lock objects out of struct lock_object and into a newJohn Baldwin2001-05-041-27/+3
* Rework the witness code to work with sx locks as well as mutexes.John Baldwin2001-03-281-10/+63
* In order to avoid recursing on the backing mutex for sx locks in theJohn Baldwin2001-03-061-2/+2
* - Add sx_descr description member to sx lock structureBosko Milekic2001-03-061-6/+26
* Implement shared/exclusive locks.Jason Evans2001-03-051-0/+160