Commit Graph

721 Commits

Author SHA1 Message Date
christos 5861d73fd7 move namespace protection before inclusion. 2010-08-06 15:21:50 +00:00
christos e8deba048f Add a weak alias for pthread_attr_get_np. Noted my Matthias Drochner. 2010-08-06 14:23:06 +00:00
wiz 6abd2b9ccc Fix typo. 2010-08-06 06:29:38 +00:00
christos ea1f852ab8 document pthread_getattr_np 2010-08-06 05:35:42 +00:00
christos f6cf46930e make kevent(2) a cancelation point, and document properly all the cancelation
points we currently support.
2010-08-06 05:25:46 +00:00
christos 32d8a48951 Add pthread_getattr_np() 2010-08-06 05:25:02 +00:00
wiz 4d7c45167f Sort sections. 2010-07-09 20:58:38 +00:00
wiz bb4a6891d0 Fix typo. 2010-07-09 20:56:01 +00:00
jruoho b46f888960 Add a compatibility note. Also some minor improvements. 2010-07-09 18:16:31 +00:00
jruoho be670be457 Update ERRORS, tidy SEE ALSO. 2010-07-09 18:07:20 +00:00
jruoho 267d79598f Rearrange, reword, clarify. Remove duplicate paragraphs and recurring
sentences. Update the ERRORS to reflect reality in NetBSD.
2010-07-09 18:01:53 +00:00
jruoho bc665d2683 Re-add EINVAL for pthread_condattr_destroy(3) (misread the pthread__error()). 2010-07-09 17:54:08 +00:00
jruoho e328c0292c Note also alignment via mmap(2), as done in NetBSD. 2010-07-09 17:15:59 +00:00
jruoho c42287d313 As per (now closed) PR lib/43581, add a note about unsupported modifications
to the red zone size.
2010-07-09 17:03:04 +00:00
jruoho dd981aaaa6 Remove error conditions. Add CAVEATS to note the questionable value of the
functions in NetBSD, which does not support additional condition attributes.
Note that these do not conform to SUSv4, where two additional attributes are
mandated.
2010-07-09 16:54:30 +00:00
jruoho 4ec5f0283b Use .Ss for non-standard subtitle. 2010-07-09 12:00:38 +00:00
jruoho 10bc8c491b Rewrite this for clarity. Also remove AUTHORS; someone was proud enough to
put himself as the author, even though the page was directly cut-and-pasted
from the Open Group's specification.
2010-07-09 11:03:26 +00:00
jruoho 70d17355ab Add missing prototypes. Noted by wiz@ -- thanks. 2010-07-09 10:55:57 +00:00
wiz 83d2a68694 Mark up NULL. 2010-07-09 10:55:11 +00:00
wiz f42b354e7d Mark up NULL, remove double space. 2010-07-09 10:49:48 +00:00
wiz 2fb2239c33 Add missing word. 2010-07-09 10:45:36 +00:00
jruoho 379ef6d482 Fix the return values; pthread_resume_np() may fail with ESRCH. In addition,
some improvements to markup and wording.
2010-07-09 09:18:45 +00:00
jruoho 6f7f6ed0ba Add the last compatibility note for the NetBSD extensions. 2010-07-09 09:10:34 +00:00
jruoho 9c4ae7f5c2 Update conformance to the 2001 revision. 2010-07-09 08:51:28 +00:00
wiz b4d7d4fbfb Sort errors. 2010-07-09 08:32:39 +00:00
wiz c351e7655b Remove empty line. 2010-07-09 08:31:35 +00:00
jruoho 6aa4892177 Rationalize by moving
pthread_key_delete(3) to pthread_key_create(3); and
	pthread_setspecific(3) to pthread_getspecific(3)
2010-07-09 08:22:04 +00:00
jruoho 3cc3be4df9 Rationalize by moving
pthread_attr_setname_np(3) to pthread_attr_getname_np(3); and
	pthread_setname_np(3) to pthread_getname_np(3).
2010-07-09 07:31:01 +00:00
jruoho 950e52c1c6 Ups. pthread_barrierattr_destroy(3) may fail with EINVAL. 2010-07-08 23:27:50 +00:00
jruoho 16fcf35f93 Cleanup errors; no error returns are defined in NetBSD. (The error codes
should be audited, and tested, for all pthread functions. Also the used
separation between "shall fail" and "may fail" should probably be removed.)
2010-07-08 23:23:37 +00:00
jruoho 8fe295c535 .Xr instaed of .Fn for pthread_mutex_init(3), update the error codes,
cleanup STANDARDS, etc.
2010-07-08 22:46:34 +00:00
jruoho ec0cdba3c9 Group also pthread_attr_getschedparam(3) and pthread_attr_getschedpolicy(3),
as these two pages fit well together.
2010-07-08 22:19:26 +00:00
jruoho 290a8eeeb6 Add some remarks and clarifications, simplify RETURN VALUES, grammar, etc. 2010-07-08 21:48:07 +00:00
wiz 0ce392a24d Add comma in enumeration, remove Xr to itself from SEE ALSO. 2010-07-08 21:35:09 +00:00
wiz 5a5247a953 Add comma in enumeration, sort errors. 2010-07-08 21:34:22 +00:00
wiz 75c6ae8ffe Sort errors. 2010-07-08 21:34:06 +00:00
wiz 2376f0c4a6 Add comma in enumeration, sort errors. 2010-07-08 21:33:38 +00:00
jruoho acb018ea1d Split long lines, .Dv NULL, note pthread_barrierattr_init(3). 2010-07-08 20:59:43 +00:00
jruoho 0fcec3f1b2 Add missing word. 2010-07-08 20:09:29 +00:00
jruoho baea5f9773 Continue the discussion with few remarks and rearrange slightly. 2010-07-08 20:07:23 +00:00
rmind d199be9733 Merge/group man pages:
- pthread_barrier_{init,destroy,wait} into pthread_barrier(3).
- pthread_cond_* into pthread_cond(3).
- pthread_mutex_* into pthread_mutex(3).
- pthread_rwlock_* into pthread_rwlock(3).
- pthread_spin_* into pthread_spin(3).
Cross-link amongst groups.
OK jruoho@
2010-07-08 19:20:16 +00:00
wiz feae669037 Add missing word. 2010-07-08 18:30:00 +00:00
wiz 92345efbda Whitespace nit. 2010-07-08 18:24:34 +00:00
wiz 228b1868fd Sort sections. 2010-07-08 18:15:27 +00:00
rmind 0dcf29f92e pthread_create: simplify error path slightly. 2010-07-08 15:13:35 +00:00
jruoho 9d6f993b89 Rewrite and include a short summary. 2010-07-08 06:47:49 +00:00
jruoho 1540fc21ba Finally, split pthread_attr_getschedpolicy() and pthread_attr_setschedpolicy()
to their own page.
2010-07-07 16:22:30 +00:00
jruoho 6218b6cbdb Xref pthread_attr_getschedparam(3) and sched(3). Use a list for clarity. 2010-07-07 16:07:10 +00:00
jruoho edddb28a67 Split pthread_attr_getschedparam() and pthread_attr_setschedparam() to a
separate page.
2010-07-07 16:04:19 +00:00
jruoho cf6053f7b6 Split pthread_attr_getinheritsched() and pthread_attr_setinheritsched() to a
separate page, and actually document these.
2010-07-07 15:30:32 +00:00