Pawel Jakub Dawidek
d8e7058159
Document sx_xlocked(9).
...
Submitted by: ssouhlal
2006-07-12 15:40:35 +00:00
John Baldwin
9fc7158c3c
Trim a couple of xrefs.
2006-04-19 20:41:56 +00:00
Gleb Smirnoff
38fdbc1679
Xref rwlock(9).
...
Reviewed by: ru
2006-02-01 20:30:55 +00:00
Ruslan Ermilov
c0854fb7b2
Scheduled mdoc(7) sweep.
2005-01-12 21:48:25 +00:00
Giorgos Keramidas
b762042dce
Make an attempt at explaining why sx(9) locks cannot be safely obtained
...
after acquiring a mutex(9).
PR: docs/75571
Submitted by: darrenr
Explanation by: jhb
2005-01-05 22:04:12 +00:00
Darren Reed
52865ee591
Document that sx_unlock() exists as a macro.
...
Remove redundant include file, <sys/kernel.h>, and clean up the function
list at the top with the addition of a "Sx utility macro" section.
2004-07-11 16:08:25 +00:00
Ruslan Ermilov
bf7f20c2b6
Assorted markup, spelling, and grammar fixes.
2004-06-16 08:33:57 +00:00
John Baldwin
ab9fe4e1fe
- Clarify ambiguous statement about not being able to both slock and xlock
...
a single lock at the same time.
- Avoid using "own" to refer to holding either a shared or exclusive lock
as it is only really correct for exclusive locks.
- Reword the sentence about sleep-ability to read easier.
Requested by: truckman (1)
2004-02-24 21:36:39 +00:00
Pawel Jakub Dawidek
8d719eb22e
Document new 'what' value for sx_assert(9).
...
PS. There is a inconsistency in this manual page, because in
non-WITNESS case sx_assert(9) does not panics, it only prints
the warning. I haven't fixed this, because jhb@ is planing to
replace those printf()s with panic()s.
Reviewed by: jhb
Approved by: jhb, scottl (mentor)
2004-02-04 08:24:05 +00:00
Joseph Koshy
de77c1ba47
Add "options INVARIANTS" and "options INVARIANT_SUPPORT" to the
...
synopsis, with supporting text in the body of the manual page.
Add a cross-reference to panic(9) for completeness.
Reviewed by: ru (synopsis changes)
2004-01-01 05:16:35 +00:00
Joseph Koshy
6c0f2b530e
Make this manual page reflect the sources better.
...
- A #include of <sys/mutex.h> is no longer needed to use sx(9) (since
2001/05/01).
- Use of the SX_SYSINIT() macro requires inclusion of '<sys/kernel.h>'
2003-12-28 01:37:48 +00:00
Joseph Koshy
2d8d6274dc
Improve continuity of text.
2003-12-27 14:01:08 +00:00
Ruslan Ermilov
959d6c24f6
Get rid of duplicates.
2003-09-14 13:41:59 +00:00
Hartmut Brandt
33f73ee488
Document the fact that one is allowed to sleep while holding an sx lock.
...
Discussed with: jhb@
2003-06-12 09:06:25 +00:00
Ruslan Ermilov
5ec37969a1
mdoc(7) police: lint.
2002-05-29 18:00:23 +00:00
Bill Fenner
04df644c95
mdoc police: turn .PP back into .Pp
2002-04-17 21:26:43 +00:00
Chad David
55d04e913a
Update the .Fn line for SX_SYSINIT to include the parameter types.
2002-04-12 03:55:43 +00:00
Andrew R. Reiter
80cc42da6b
- Add notes about SX_SYSINIT and MTX_SYSINIT in order to document the
...
recent additions of these macros.
- Add in a MLINK to create SX_SYSINIT.9 and MTX_SYSINIT.9.
2002-04-02 17:21:00 +00:00
Dima Dorfman
a254506ee5
Add mtx_pool(9) to the SEE ALSO section.
...
Submitted by: Garrett Rooney <rooneg@electricjellyfish.net>
2002-03-28 12:51:06 +00:00
Ruslan Ermilov
5f6a3b99a1
mdoc(7) police: WITNESS is a #define, mark it as such.
2001-11-21 11:47:55 +00:00
Ruslan Ermilov
d1919ca628
mdoc(7) police: cosmetique.
2001-11-21 11:44:36 +00:00
John Baldwin
7fe151bee5
Document sx_assert(9).
2001-10-23 22:51:59 +00:00
Bruce Evans
6ea8d9af05
Fixed wrong include in synopsis.
2001-10-04 09:01:49 +00:00
Ruslan Ermilov
32eef9aeb1
mdoc(7) police: Use the new .In macro for #include statements.
2001-10-01 16:09:29 +00:00
Mike Silbersack
42e5dee992
Common Mike adds see alsos from all of the synchronization
...
man pages to their brethren.
2001-09-17 07:24:48 +00:00
Ruslan Ermilov
135047c346
mdoc(7) police: bump document date.
2001-08-14 16:01:00 +00:00
Jason Evans
f72a2ca28c
Add missing commas.
2001-08-14 05:10:07 +00:00
Jason Evans
d55229b72e
Add sx_try_upgrade() and sx_downgrade().
...
Submitted by: Alexander Kabaev <ak03@gte.com>
2001-08-13 21:25:30 +00:00
Ruslan Ermilov
c5e7e03a14
Spell "FreeBSD" with "F" and "BSD" in uppercase.
2001-08-13 16:33:00 +00:00
Jason Evans
920ae52d67
Document sx_try_[sx]lock().
2001-08-07 04:29:53 +00:00
Jens Schweikhardt
c1f3e4bf21
Removed whitespace at end-of-line; no content changes. I simply did
...
cd src/share; find man[1-9] -type f|xargs perl -pi -e 's/[ \t]+$//'
BTW, what editors are the culprits? I'm using vim and it shows
me whitespace at EOL in troff files with a thick blue block...
Reviewed by: Silence from cvs diff -b
MFC after: 7 days
2001-07-14 19:41:16 +00:00
Ruslan Ermilov
d6a2bd5bd1
mdoc(7) police: removed final dot from the .Nd call.
2001-04-04 12:00:29 +00:00
John Baldwin
ad84c9eb36
- Both <sys/sx.h> and <sys/mutex.h> depend on <sys/types.h> and
...
<sys/lock.h>.
- <sys/sx.h> depends on <sys/mutex.h>.
2001-03-28 12:45:41 +00:00
Jason Evans
6281b30a73
Implement shared/exclusive locks.
...
Reviewed by: bmilekic, jake, jhb
2001-03-05 19:59:41 +00:00