#
285830 |
|
23-Jul-2015 |
gjb |
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1 builds. - Update newvers.sh to reflect RC1. - Update __FreeBSD_version to reflect 10.2. - Update default pkg(8) configuration to use the quarterly branch.[1]
Discussed with: re, portmgr [1] Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
252037 |
|
20-Jun-2013 |
jhb |
Document RA_RECURSED and RA_NOTRECURSED.
MFC after: 3 days
|
#
236680 |
|
06-Jun-2012 |
jhb |
Use the defined terms "readers" and "writers" to simplify some text.
|
#
227588 |
|
16-Nov-2011 |
pjd |
Constify arguments for locking KPIs where possible.
This enables locking consumers to pass their own structures around as const and be able to assert locks embedded into those structures.
Reviewed by: ed, kib, jhb
|
#
177846 |
|
01-Apr-2008 |
attilio |
Add manpages for rw_try_rlock() and rw_try_wlock() functions.
|
#
177260 |
|
16-Mar-2008 |
pjd |
Implement soon-to-be-used rw_unlock() macro.
|
#
177259 |
|
16-Mar-2008 |
pjd |
Add missing .El.
|
#
173906 |
|
25-Nov-2007 |
brueffer |
Clean up after previous revision.
|
#
173887 |
|
25-Nov-2007 |
attilio |
Update rwlock(9) manpage adding missing bits about the rw_init_flags() function, its options and explaining that recursion for writers can be selectively enabled.
Reported by: rwatson, Skip Ford <skip at menantico dot com>
|
#
168071 |
|
30-Mar-2007 |
julian |
Add some cross references to locking.9 from related pages.
|
#
167387 |
|
09-Mar-2007 |
jhb |
Allow threads to atomically release rw and sx locks while waiting for an 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.
|
#
167372 |
|
09-Mar-2007 |
jhb |
Place mtx_destroy() and rw_destroy() right after mtx_init() and rw_init() to match sx(9) and condvar(9).
|
#
167370 |
|
09-Mar-2007 |
jhb |
- Sort rwlock functions similar to the order in mutex(9). - Add a missing MLINK.
|
#
167025 |
|
26-Feb-2007 |
rwatson |
Update rwlock(9) for rw_wowned().
|
#
162877 |
|
30-Sep-2006 |
ru |
Revise markup.
|
#
160432 |
|
17-Jul-2006 |
flz |
Fix typo (s/writeer/writer/).
|
#
157883 |
|
19-Apr-2006 |
jhb |
Document rw_try_upgrade() and rw_downgrade().
|
#
157881 |
|
19-Apr-2006 |
jhb |
Various nits and fixups so that the text reads smoother in several places. Also, more closely match the prototypes in sys/rwlock.h and add a BUGS section.
|
#
155189 |
|
01-Feb-2006 |
glebius |
Document read/write locks.
Reviewed by: jhb, ru
|