summaryrefslogtreecommitdiffstats
path: root/share/man/man9/sleepqueue.9
Commit message (Collapse)AuthorAgeFilesLines
* Document the new return values for sleepq_abort(), sleepq_broadcast(), andjhb2008-08-071-3/+18
| | | | | | sleepq_signal(). Prodded by: attilio
* - Change the description of sleepq_add(), sleepq_broadcast() andgabor2007-09-281-4/+13
| | | | | | | sleepq_signal() to reflect recent changes Submitted by: attilio Approved by: re (bmah)
* Allow threads to atomically release rw and sx locks while waiting for anjhb2007-03-091-5/+5
| | | | | | | | | | | | | | | | | | | event. Locking primitives that support this (mtx, rw, and sx) now each include their own foo_sleep() routine. - Rename msleep() to _sleep() and change it's 'struct mtx' object to a 'struct lock_object' pointer. _sleep() uses the recently added lc_unlock() and lc_lock() function pointers for the lock class of the specified lock to release the lock while the thread is suspended. - Add wrappers around _sleep() for mutexes (mtx_sleep()), rw locks (rw_sleep()), and sx locks (sx_sleep()). msleep() still exists and is now identical to mtx_sleep(), but it is deprecated. - Rename SLEEPQ_MSLEEP to SLEEPQ_SLEEP. - Rewrite much of sleep.9 to not be msleep(9) centric. - Flesh out the 'RETURN VALUES' section in sleep.9 and add an 'ERRORS' section. - Add __nonnull(1) to _sleep() and msleep_spin() so that the compiler will warn if you try to pass a NULL wait channel. The functions already have a KASSERT to that effect.
* Document SLEEPQ_PAUSE.jhb2007-03-091-1/+4
|
* Change sleepq_add(9) argument from 'struct mtx *' to 'struct lock_object *',pjd2006-11-161-3/+3
| | | | | | | | which allows to use it with different kinds of locks. For example it allows to implement Solaris conditions variables which will be used in ZFS port on top of sx(9) locks. Reviewed by: jhb
* Bring API documentation for sleepqueue(9) in sync with the codejkoshy2005-04-191-21/+61
| | | | | | in -current. Reviewed by: ru
* Scheduled mdoc(7) sweep.ru2005-01-121-2/+2
|
* Catch up to recent API changes including the removal of the signal_caughtjhb2004-08-191-12/+25
| | | | | argument to sleepq_timedwait() and the enhancements to the flags argument passed to sleepq_add().
* Spelling fixes.mpp2004-06-211-2/+2
|
* Tiny markup fixes.ru2004-06-161-6/+6
|
* Rewrite sleepqueue manpage to catch up to the new sleep queue interface.jhb2004-03-121-48/+255
|
* mdoc(7) police: finish up the "proc" -> "thread" conversion.ru2002-01-101-2/+2
|
* Update function definitions and required include files to reflectdavidc2001-12-261-1/+1
| | | | | | the current state of the system. Approved by: alfred
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-011-2/+2
|
* Add 2001 to copyright.jhb2001-03-091-1/+1
|
* mdoc(7) police: fixed some minor formatting/spelling errors.ru2001-01-241-2/+2
|
* Document the current organization and helper functions used to implementjhb2001-01-231-0/+89
the sleep queues used by msleep/wakeup and friends. Submitted by: sheldonh
OpenPOWER on IntegriCloud