Xin LI
67b9e2551d
Correct cross reference.
...
MFC after: 2 weeks
2010-03-23 18:00:50 +00:00
Konstantin Belousov
ccbe0b21ef
Document pthread_timedjoin_np.
...
Note implementation-defined EOPNOTSUPP error [1].
PR: threads/143115 [1]
MFC after: 3 days
2010-01-23 13:08:47 +00:00
Ed Schouten
0806dd9238
Remove stale references to utmp(5) and its corresponding filenames.
...
I removed utmp and its manpage, but not other manpages referring to it.
2010-01-21 17:25:12 +00:00
Christian Brueffer
d49bbd73ff
Various fixes.
2010-01-12 18:07:12 +00:00
Xin LI
777f8cebf3
Add a set of manual pages for pthread[_attr]_[sg]etaffinity(3).
...
Reviewed by: davidxu
MFC after: 2 weeks
2010-01-09 12:31:11 +00:00
Christian Brueffer
ad035daf08
Fix typo.
...
PR: 140615
Submitted by: Andrius Morkunas <hinokind@gmail.com>
MFC after: 3 days
2009-11-17 07:06:41 +00:00
Benno Rice
9d44cd42c1
Fix typo (noded -> nodes).
2009-11-04 04:12:56 +00:00
Ed Schouten
3d98b75bac
Rename the queue macros I introduced last year.
...
Last year I added SLIST_REMOVE_NEXT and STAILQ_REMOVE_NEXT, to remove
entries behind an element in the list, using O(1) time. I recently
discovered NetBSD also has a similar macro, called SLIST_REMOVE_AFTER.
In my opinion this approach is a lot better:
- It doesn't have the unused first argument of the list pointer. I added
this, mainly because OpenBSD also had it.
- The _AFTER suffix makes a lot more sense, because it is related to
SLIST_INSERT_AFTER. _NEXT is only used to iterate through the list.
The reason why I want to rename this now, is to make sure we don't
release a major version with the badly named macros.
2009-05-27 19:28:04 +00:00
Tom Rhodes
7ba7e04135
On second thought, remove the comma too.
2009-04-01 08:08:25 +00:00
Tom Rhodes
9c0f9817ff
Remove KSE bits, cross reference libthr.3.
...
PR: 132392
Submitted by: Niclas Zeising <niclas.zeising@gmail.com> (original version)
2009-04-01 07:13:21 +00:00
Ed Schouten
2c3fbde10d
Small typo in the makedev(3) manpage.
...
devtoname(3) is a nonexistent function. We do have devtoname(9), but
that's entirely different. The correct function is devname(3).
2008-09-28 20:26:16 +00:00
Ed Schouten
66c6ebfe6b
Several documentation fixups related to device minor/major numbers:
...
- Document the minor(3), major(3) and makedev(3) macro's. They also
apply to umajor() and uminor() in the kernel, but hopefully we'll sort
that out one day.
- Briefly dev2unit() inside the make_dev(9) manual page, since this is
now the preferred macro to obtain character device unit numbers inside
the kernel.
- Remove the device_ids(9) manual page. It contains highly inaccurate
information, such as a description of the nonexistent major().
2008-09-28 20:15:45 +00:00
Ed Schouten
e2fd72de44
Introduce REMOVE_NEXT() macro's for SLIST and STAILQ.
...
Even though single linked lists allow items to be removed at constant time
(when the previous element is known), the queue macro's don't allow this.
Implement new REMOVE_NEXT() macro's. Because the REMOVE() macro's also
contain the same code, make it call REMOVE_NEXT().
The OpenBSD version of SLIST_REMOVE_NEXT() needs a reference to the list
head, even though it is unused. We'd better mimic this. The STAILQ version
also needs a reference to the list. This means the prototypes of both
macro's are the same.
Approved by: philip (mentor)
PR: kern/121117
2008-05-22 14:40:03 +00:00
Ruslan Ermilov
dbdb679c6f
Remove options MK_LIBKSE and DEFAULT_THREAD_LIB now that we no longer
...
build libkse. This should fix WITHOUT_LIBTHR builds as a side effect.
2008-03-29 17:44:40 +00:00
Jason Evans
164bfe6abb
Install manpage links for RB_PREV and RB_FOREACH_REVERSE.
2008-03-07 22:29:53 +00:00
Jason Evans
8e4fd0a138
Implement RB_PREV() AND RB_FOREACH_REVERSE().
2007-12-28 07:03:26 +00:00
David Schultz
3eb5f519a5
Add sqrt() to the first table in the manpage. It seems it was accidentally
...
omitted.
2007-12-15 02:40:10 +00:00
David E. O'Brien
ed741d4e2d
Don't imply O(n) removal for the doubly linked data structures.
2007-11-02 00:34:44 +00:00
Ruslan Ermilov
3e9ed1efb8
Hide the implementation details about multiple threading libraries
...
from the synopses of pthread*(3) manpages.
Reviewed by: deischen, davidxu
2007-10-22 10:08:01 +00:00
Ruslan Ermilov
d8e438f0d5
Remove an obsolete paragraph that pthread_single_np(3) is
...
not implemented in libthr.
Reviewed by: deischen, davidxu
2007-10-22 10:04:42 +00:00
David E. O'Brien
946367b8e2
Tweak the handling of "WITHOUT_LIBPTHREAD". Also remove the accidental
...
treatment of 'LIBKSE' as an "old style" knob.
Submitted by: ru
Approved by: re(kensmith)
2007-10-09 23:31:11 +00:00
David E. O'Brien
65c045e964
Repo copy libpthreads to libkse.
...
This introduces the WITHOUT_LIBKSE nob,
and changes WITHOUT_LIBPTHREADS to mean with neither threading libs.
Approved by: re(kensmith)
2007-10-09 13:42:34 +00:00
Warner Losh
e4adaf642c
Document that EPERM is returned when the calling thread does not have
...
the mutex locked. Also tweak the wording to make it more consistant
between pthread_cond_wait and pthread_cond_tiedwait.
Confirmed with the opengroup's web site that this is a valid return
value. Wording used specifically not that of opengroup's online man
pages.
MFC After: 1 week
2007-03-30 04:10:04 +00:00
Olivier Houchard
c3f5198b21
Add a reference too pthread_cancel(3).
...
Submitted by: Jeremie Le-Hen
2007-01-19 17:34:52 +00:00
Tom Rhodes
6a8a30dcd3
Xref pthread_condattr.3, pthread_attr.3, and pthread_mutexattr.3.
...
PR: 60679
Submitted by: roam (with minor modifications)
2006-11-04 10:08:16 +00:00
Maxim Konovalov
b889a97163
o Expand "Nov" to "November" in Dd macro, remove eol whitespace.
2006-11-01 04:46:06 +00:00
David Xu
29f4831b30
Add error code EPERM.
...
Reviewed by: ru, deischen
2006-11-01 01:54:30 +00:00
Ruslan Ermilov
a676ad7a4f
Bring manpage up-to-date with respect to the scheduling priority
...
range, and mention the SCHED_OTHER scheduling policy.
Submitted by: davidxu
PR: docs/37843
MFC after: 3 days
2006-10-16 14:35:31 +00:00
Ruslan Ermilov
85213a8004
Revise markup.
2006-09-30 11:48:12 +00:00
Ruslan Ermilov
2e97500669
Removed libc_r build support.
2006-09-30 11:32:46 +00:00
Ruslan Ermilov
5bb9f2101b
Remove mentions of libc_r.
2006-09-30 11:22:26 +00:00
Maxim Konovalov
0029d6425f
o Add pthread_yield.3 man page.
...
PR: docs/100083
Reviewed by: deischen, ru
Obtained from: OpenBSD
MFC after: 2 weeks
2006-09-18 18:07:49 +00:00
Ruslan Ermilov
81ae4b8da9
Markup fixes.
2006-09-18 15:24:20 +00:00
Ed Maste
d5fd66e17d
The removal of CIRCLEQ left four queue macros. One sentence was missed
...
in the man page update.
PR: docs/94938
Submitted by: Ed Schouten <ed@fxq.nl>
MFC After: 3 days
2006-03-25 23:11:10 +00:00
Kirk McKusick
982ba1cb7e
Typesetting fix for -r1.137.
...
If a tail queue is empty the return value of TAILQ_LAST is not
undefined, it is NULL.
Submitted by: Ruslan Ermilov <ru@FreeBSD.org>
2006-03-24 07:41:12 +00:00
Kirk McKusick
c4e29cccdd
If a tail queue is empty the return value is not
...
undefined, it is NULL.
2006-03-22 02:40:38 +00:00
Ruslan Ermilov
e1fe3dba5c
Reimplementation of world/kernel build options. For details, see:
...
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html
The src.conf(5) manpage is to follow in a few days.
Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
2006-03-17 18:54:44 +00:00
Brad Davis
209462832d
- Massage wording to make it easier to understand and fix some grammar.
...
Submitted by: sbahra at gwu dot edu
Reviewed by: ru@
Approved by: ceri@
MFC after: 3 days
2006-02-16 09:56:31 +00:00
Tom Rhodes
a00d9cda62
Does not return EBUSY, the mutex will keep blocking until it's unlocked.
2006-01-31 01:47:16 +00:00
Jason Evans
d72cd77975
Add the RB_PROTOTYPE_STATIC and RB_GENERATE_STATIC macros.
...
Approved by: markm (mentor)
2006-01-19 07:20:20 +00:00
Maxim Konovalov
7b7f29d82a
o Sort MLINKS.
2006-01-11 21:28:55 +00:00
Jason Evans
06115e083a
Add the RB_NFIND() macro, which is useful for red-black tree searches
...
for which there may not be an exact match.
Reviewed by: glebius, julian
Approved by: markm (mentor)
2006-01-11 15:48:36 +00:00
David Xu
dbcf945af6
Style fixs, add missing word 'signal'.
...
Reviewed by: deischen
2005-12-14 01:59:11 +00:00
David Xu
22fc836263
Add siginfo.
2005-12-13 00:28:09 +00:00
Ruslan Ermilov
4294a24e1b
Fix prototype.
2005-11-24 15:10:38 +00:00
John Baldwin
e26af7a74a
Remove a spurious newline. The TAILQ_INIT() is part of the 'faster tailq
...
deletion' example.
MFC after: 1 week
2005-10-17 17:53:17 +00:00
Hiroki Sato
44cb3ab02e
Fix typos and use consistent section names in manual pages:
...
s/SYSCTLS/SYSCTL VARIABLES/
s/TUNABLES/LOADER TUNABLES/
s/CAVEAT/CAVEATS/
s/DESCIPTION/DESCRIPTION/
Reviewed by: ru
MFC after: 3 days
2005-07-15 17:35:26 +00:00
Hiten Pandya
a1601503f5
Use 'manual page' instead of 'man page' for consistency.
...
Approved by: re (hrs)
2005-06-30 13:18:15 +00:00
Ruslan Ermilov
a4be0b3cc1
(Mostly) markup fixes.
...
Approved by: re (blanket)
2005-06-16 18:46:17 +00:00
Giorgos Keramidas
8a119ad210
The correct copyright notice for manpages that copy material from Open
...
Group's documentation is `/usr/share/examples/mdoc/POSIX-copyright',
not the one I copied from `/usr/share/examples/etc/bsd-copyright'.
Suggested by: simon
2nd pointy hat of the day: yours truly
2005-05-18 17:08:15 +00:00