#
259065 |
|
07-Dec-2013 |
gjb |
- Copy stable/10 (r259064) to releng/10.0 as part of the 10.0-RELEASE cycle. - Update __FreeBSD_version [1] - Set branch name to -RC1
[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so start releng/10.0 at '100' so the branch is started with a value ending in zero.
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
|
#
254436 |
|
16-Aug-2013 |
mjacob |
Correct sentence syntax too.
|
#
254434 |
|
16-Aug-2013 |
obrien |
Correct spelling.
|
#
247812 |
|
04-Mar-2013 |
davide |
MFcalloutng: Dcoument the new functions added to condvar(9), sleep(9), sleepqueue(9) KPIs. Also document recent changes in timeout(9) and eventtimers(4).
|
#
245049 |
|
04-Jan-2013 |
bjk |
Fix some minor inaccuracies introduced in r243251. Also correct the comment in kern_synch.c which was the source of the problematic text.
Reviewed by: kib (previous version) Approved by: hrs (mentor)
|
#
243251 |
|
18-Nov-2012 |
bjk |
Improve grammar.
Approved by: hrs (mentor)
|
#
233648 |
|
29-Mar-2012 |
eadler |
Remove trailing whitespace per mdoc lint warning
Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days
|
#
217613 |
|
19-Jan-2011 |
jmg |
document that even when wakeup_one is used to wakeup, msleep and friends may still return a non-zero value... You are not guaranteed to get a one to one mapping between wakeup_one and zero return values...
Reviewed by: kib MFC after: 3 days
|
#
206622 |
|
14-Apr-2010 |
uqs |
mdoc: order prologue macros consistently by Dd/Dt/Os
Although groff_mdoc(7) gives another impression, this is the ordering most widely used and also required by mdocml/mandoc.
Reviewed by: ru Approved by: philip, ed (mentors)
|
#
200450 |
|
12-Dec-2009 |
kib |
Document PBDRY and SLEEPQ_STOP_ON_BDRY.
Requested and reviewed by: attilio MFC after: 3 days
|
#
181394 |
|
07-Aug-2008 |
jhb |
Permit Giant to be passed as the explicit interlock either to msleep/mtx_sleep or the various cv_*wait*() routines. Currently, the "unlock" behavior of PDROP and cv_wait_unlock() with Giant is not permitted as it is will be confusing since Giant is fully unrecursed and unlocked during a thread sleep.
This is handy for subsystems which wish to allow unlocked drivers to continue to use Giant such as CAM, the new TTY layer, and the new USB stack. CAM currently uses a hack that I told Scott to use because I really didn't want to permit this behavior, and the TTY and USB patches both have various patches to permit this.
MFC after: 2 weeks
|
#
177915 |
|
04-Apr-2008 |
imp |
Add note about PZERO being obsolete, because so much code uses it. Feel free to improve the verbage, since this was a compromise between conflicting feedback I got on my original version.
|
#
168071 |
|
30-Mar-2007 |
julian |
Add some cross references to locking.9 from related pages.
|
#
167498 |
|
13-Mar-2007 |
grog |
Typo.
|
#
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.
|
#
167218 |
|
05-Mar-2007 |
grog |
Another typo.
Spotted by: ru Another pointy hat to: grog
|
#
167215 |
|
04-Mar-2007 |
grog |
Cosmetics: remove trailing white space, wrap over-long lines.
Pointy hat to: grog
|
#
167213 |
|
04-Mar-2007 |
grog |
Rearrange function descriptions in more logical order. Be less alarmist about the dangers of abusing wakeup_one().
Requested by: kris, imp
|
#
167094 |
|
27-Feb-2007 |
grog |
Furhter clarifications:
- the issues with wakeup_one are due to address space clashes between unrelated groups of threads. - sleep() was removed in FreeBSD 2.2. - date the page today, not 4 days ago. - replace grammatically correct "woken" with "woken up" for consistency with the function name.
|
#
167076 |
|
27-Feb-2007 |
jhb |
In FreeBSD 5.x+, sleep/wakeup operate on threads, not processes.
|
#
167075 |
|
27-Feb-2007 |
ru |
Fix markup and grammar bugs in recent revisions.
|
#
167053 |
|
27-Feb-2007 |
grog |
Update HISTORY.
Reviewed by: dmr
|
#
167049 |
|
27-Feb-2007 |
grog |
Add warning about deadlocks created by use of wakeup_one.
|
#
166908 |
|
23-Feb-2007 |
jhb |
Add a new kernel sleep function pause(9). pause(9) is for places that want an equivalent of DELAY(9) that sleeps instead of spins. It accepts a wmesg and a timeout and is not interrupted by signals. It uses a private wait channel that should never be woken up by wakeup(9) or wakeup_one(9).
Glanced at by: phk
|
#
162404 |
|
18-Sep-2006 |
ru |
Markup fixes.
|
#
157817 |
|
17-Apr-2006 |
jhb |
- Sleep/wakeup operate on threads now, not processes. - Describe msleep() as the primary sleep function now rather than tsleep() and describe tsleep() and msleep_spin() as variations. - Try to make the description of msleep() a bit closer to English (sentences with actual subjects, etc.) - Document that a priority of 0 now prevents the thread's priority from being altered. - Add a history note for wakeup_one().
|
#
155925 |
|
22-Feb-2006 |
jmg |
allow timo to be 0 when mtx is not NULL (KASSERT allowed this as pointed out by jhb)
Reviewed by: jhb MFC after: 3 days
|
#
153992 |
|
03-Jan-2006 |
jhb |
- Don't list sleep() in the NAME section as we haven't had a sleep() function in years. - Change the 'ident' paramters to 'wchan' to match <sys/systm.h>. - Use 'otherwise' in place of 'else' in one place so that this reads like English rather than C. - Document the new msleep_spin() function. - Add history notes for msleep() and msleep_spin().
|
#
147647 |
|
28-Jun-2005 |
hmp |
Use 'manual page' instead of 'man page' for consistency.
Approved by: re (hrs)
|
#
139828 |
|
07-Jan-2005 |
cperciva |
Point out that tsleep(... , 0) is not permitted if the Giant lock is not held. (It causes a "sleeping without a mutex" assertion failure in msleep.)
MFC after: 3 days
|
#
125940 |
|
17-Feb-2004 |
maxim |
o Be consistent with the declaration: pri -> priority.
Spotted by: Dmitry Rzhavin MFC after: 1 week
|
#
121385 |
|
23-Oct-2003 |
hmp |
Mdoc Janitor:
* Fix hard sentence breaks.
|
#
115440 |
|
31-May-2003 |
hmp |
Some mdoc(7) fixes:
Nuke incorrect usage of .Ar; replace it with .Vt, .Va or .Fa appropriately. The .Ar mdoc(7) specifier should only be used when displaying command line arguments.
Approved by: des (mentor)
|
#
115073 |
|
16-May-2003 |
jhb |
- Use better terminology when describing mutex operations in msleep(9)'s description. - Remove some bogus commas. - Use the past tense when referring to the removal of the sleep() function since it happened quite a while ago and since the previous sentence in the paragraph already uses the past tense.
Approved by: re (rwatson)
|
#
111447 |
|
24-Feb-2003 |
ru |
mdoc(7) police: Scheduled sweep.
|
#
110315 |
|
04-Feb-2003 |
guido |
sleep -> msleep
|
#
108618 |
|
03-Jan-2003 |
trhodes |
mdoc(4) police: Markup. Fix 1 hard sentence break.
|
#
108617 |
|
03-Jan-2003 |
trhodes |
mdoc(7) police: Remove hard sentence breaks.
|
#
108616 |
|
03-Jan-2003 |
trhodes |
mdoc(7) police: markup nits.
|
#
92566 |
|
18-Mar-2002 |
ru |
mdoc(7) police: macroize UNIX.
|
#
87377 |
|
05-Dec-2001 |
jdp |
Fix speling errur.
|
#
84306 |
|
01-Oct-2001 |
ru |
mdoc(7) police: Use the new .In macro for #include statements.
|
#
82247 |
|
23-Aug-2001 |
jhb |
Remove references to asleep/await.
|
#
81251 |
|
07-Aug-2001 |
ru |
mdoc(7) police:
Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
|
#
79727 |
|
14-Jul-2001 |
schweikh |
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
|
#
71895 |
|
01-Feb-2001 |
ru |
mdoc(7) police: split punctuation characters + misc fixes.
|
#
69052 |
|
22-Nov-2000 |
ru |
mdoc(7) police: Er macro usage cleanup.
|
#
69027 |
|
22-Nov-2000 |
ru |
mdoc(7) police: do not split author names in the AUTHORS section.
|
#
68962 |
|
20-Nov-2000 |
ru |
mdoc(7) police: use the new features of the Nm macro.
|
#
68575 |
|
10-Nov-2000 |
ru |
Avoid use of direct troff requests in mdoc(7) manual pages.
|
#
68541 |
|
09-Nov-2000 |
jhb |
Replace non-existent 'mtx_t' typedef'd type with 'struct mtx'.
|
#
65709 |
|
10-Sep-2000 |
jake |
Add scant documentation for msleep.
|
#
64680 |
|
15-Aug-2000 |
markm |
Improve the cross-references.
|
#
64676 |
|
15-Aug-2000 |
markm |
Fix grammar and a function name.
|
#
60284 |
|
09-May-2000 |
hoek |
Small grammar gnit.
|
#
57264 |
|
16-Feb-2000 |
jasone |
Fix a typo (simple --> simply).
|
#
52834 |
|
03-Nov-1999 |
joerg |
Move the description of the traditional sleep() form out into the history section, we no longer have it.
Fix mdoc style violations caused by a previous committer.
|
#
50476 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
49831 |
|
15-Aug-1999 |
mpp |
Various man page cleanup:
- Sort xrefs - FreeBSD.ORG -> FreeBSD.org - Be consistent with section names as outlined in mdoc(7). - Other misc mdoc cleanup.
PR: doc/13144 Submitted by: Alexey M. Zelkin <phantom@cris.net>
|
#
43517 |
|
01-Feb-1999 |
mpp |
Fix some spelling errors.
|
#
42023 |
|
22-Dec-1998 |
dillon |
update asleep/await sections
|
#
41978 |
|
21-Dec-1998 |
dillon |
update HISTORY section
|
#
41977 |
|
21-Dec-1998 |
dillon |
Add manual page for experimental kernel asleep() and await() routines
|
#
32573 |
|
16-Jan-1998 |
bde |
Fixed prototype for tsleep() (const poisoning).
|
#
24815 |
|
11-Apr-1997 |
bde |
Fixed synopsis: - don't declare nonexistent function sleep(). - don't include <sys/errno.h> explicitly.
sleep() should be nuked some more, e.g., this man page should not be named after a nonexistent function.
|
#
24737 |
|
09-Apr-1997 |
mpp |
Document wakeup_one().
|
#
22986 |
|
22-Feb-1997 |
peter |
Revert $FreeBSD$ back to $Id$
|
#
21673 |
|
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
#
15095 |
|
07-Apr-1996 |
mpp |
Fix some typos.
|
#
15079 |
|
06-Apr-1996 |
joerg |
Fix a typo.
|
#
15062 |
|
05-Apr-1996 |
joerg |
.Ql --> .Dv
Submitted by: wollman
|
#
15059 |
|
05-Apr-1996 |
mpp |
List tsleep & wakeup in the summary line so that they can be found with "man -k".
|
#
15021 |
|
03-Apr-1996 |
joerg |
Populate this. :)
Add a man page for tsleep()/wakeup().
|