Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-02-22 | Don't mention <sys/signal.h>: <pthread_np.h> pulls in everything that's | Philip Guenther | |
needed. | |||
2023-02-22 | Prefer "get or set" over "get/set" or "get and set". | Philip Guenther | |
From discussion with schwarze@ and jmc@ ok jmc@ | |||
2023-02-11 | sprinkle some Xr; from josiah frentsos | Jason McIntyre | |
2022-12-19 | Add pselect(2), recvmmsg(2), sendmmsg(2), and waitid(2) to the lists | Philip Guenther | |
of built-in cancelation points. | |||
2022-07-17 | add section to mmap Xr | Jonathan Gray | |
2022-03-31 | man pages: add missing commas between subordinate and main clauses | Christian Weisgerber | |
jmc@ dislikes a comma before "then" in a conditional, so leave those untouched. ok jmc@ | |||
2022-02-06 | remove please from manual pages | Jonathan Gray | |
ok jmc@ sthen@ millert@ | |||
2021-04-06 | Shared semaphores are not supported | kn | |
Shared semaphores were reverted with lib/librthread/rthread_sem.c r1.18 in 2013 but corresponding manual bits were not; revert sem_init.3 r1.6 (modulo the unrelated "named semaphores" hunk). Reported by Rubén Llorente, thanks. Prodding OK jmc | |||
2020-12-03 | There are special rules regarding the memory passed to pthread_attr_setstack(). | Otto Moerbeek | |
ok semarie@ | |||
2020-04-06 | Update my email address. | Paul Irofti | |
2020-04-03 | Clarify conditions in which pthread_mutex_destroy(3) returns EBUSY. | Stefan Sperling | |
It happens not just if the mutex is locked by another thread, but also if any other threads refer to the mutex (e.g. by waiting for the lock). ok guenther | |||
2019-02-13 | Remove IMPLEMENTATION NOTES, they only apply to one of the two in-tree | Martin Pieuchot | |
implementations. Pointed out by pirofti@ | |||
2019-02-04 | tweak previous; | Jason McIntyre | |
2019-02-04 | add a pthread_get_name_np to match pthread_set_name_np. | Ted Unangst | |
could be useful in ports. initial diff by David Carlier some time ago. ok jca | |||
2019-01-29 | Tweak description, pthread_cond_signal(3) unblocks *at least* one thread. | Martin Pieuchot | |
ok kettenis@, visa@ | |||
2019-01-12 | Move sigwait(3) from libpthread to libc | Jeremie Courreges-Anglas | |
POSIX wants it in libc, that's where the function can be found on other systems. Reported by naddy@, input from naddy@ and guenther@. "looks ok" guenther@, ok deraadt@ Note: riding the libc/libpthread major cranks earlier today. | |||
2018-04-24 | Validate timespec and return ECANCELED when interrupted with SA_RESTART. | Paul Irofti | |
Discussing with mpi@ and guenther@, we decided to first fix the existing semaphore implementation with regards to SA_RESTART and POSIX compliant returns in the case where we deal with restartable signals. Currently we return EINTR everywhere which is mostly incorrect as the user can not know if she needs to recall the syscall or not. Return ECANCELED to signal that SA_RESTART was set and EINTR otherwise. Regression tests pass and so does the posixsuite. Timespec validation bits are needed to pass the later. OK mpi@, guenther@ | |||
2018-04-12 | Implement MAP_STACK option for mmap(). Synchronous faults (pagefault and | Theo de Raadt | |
syscall) confirm the stack register points at MAP_STACK memory, otherwise SIGSEGV is delivered. sigaltstack() and pthread_attr_setstack() are modified to create a MAP_STACK sub-region which satisfies alignment requirements. Observe that MAP_STACK can only be set/cleared by mmap(), which zeroes the contents of the region -- there is no mprotect() equivalent operation, so there is no MAP_STACK-adding gadget. This opportunistic software-emulation of a stack protection bit makes stack-pivot operations during ROPchain fragile (kind of like removing a tool from the toolbox). original discussion with tedu, uvm work by stefan, testing by mortimer ok kettenis | |||
2017-05-29 | It is distasteful to have manual pages which don't refer to real | Theo de Raadt | |
function calls, but instead a "class" of functions like "sigsetops". Rename to sigaddset", and while at it improve documentation in sigprocmask(2) to point to it. ok tedu | |||
2017-01-27 | new sentence, new line | Ingo Schwarze | |
2016-03-30 | some Xr adjustment to catch up with MLINKS removal; | Jason McIntyre | |
2016-03-30 | for some time now mandoc has not required MLINKS to function | Jason McIntyre | |
correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung | |||
2015-11-10 | update NAME section to include all documented functions, | Jason McIntyre | |
or otherwise change Dt to reflect the name of an existing function; feedback/ok schwarze | |||
2015-09-22 | fix function name. | Igor Sobrado | |
2015-09-22 | typo (s/intialization/initialization/). | Igor Sobrado | |
2015-09-14 | in the SYNOPSIS, make void function arguments explicit | Ingo Schwarze | |
2015-09-14 | use .Va for global variables, and .Vt where the type is included | Ingo Schwarze | |
2015-09-10 | use .In rather than .Fd #include | Ingo Schwarze | |
2015-05-15 | trailing whitespace; | Jason McIntyre | |
2015-05-12 | Document pthread_atfork(3)'s interaction with dlclose(3) | Philip Guenther | |
Use Xr instead of Fn for functions documented on other manpages ok millert@ jmc@ schwarze@ | |||
2015-03-13 | remove the first comma from constructs like ", and," and ", or,": you can use | Jason McIntyre | |
"and" and "or" to join sentence clauses, and you can use commas, but both hinders reading; | |||
2014-11-30 | do not use .St -p1003.1d-99 which is used in exactly two pages; | Ingo Schwarze | |
im going to delete support for it from mandoc(1) | |||
2014-08-31 | accept4() should be a cancellation point. | Philip Guenther | |
Update the list in the pthread_testcancel(3) manpage: several were missing. noted by miod@ | |||
2014-08-30 | Xr __tfork instead of fork | Philip Guenther | |
2014-07-16 | zap trailing newlines; "go for it" deraadt | Okan Demirmen | |
2014-03-06 | sync with header; | Jason McIntyre | |
From: Gabriel Linder | |||
2014-01-21 | obvious .Pa fixes; found with mandocdb(8) | Ingo Schwarze | |
2014-01-03 | sort SEE ALSO; | Jason McIntyre | |
2014-01-03 | some more information, based on a diff by sven falempin | Ted Unangst | |
2013-11-20 | spelling fix; | Jason McIntyre | |
2013-11-20 | this implementation may now be capable of shared semaphores | Ted Unangst | |
2013-11-20 | more detail on error conditions | Ted Unangst | |
2013-11-19 | tweak previous; | Jason McIntyre | |
2013-11-19 | slightly better | Ted Unangst | |
2013-11-18 | boilerplate documentation | Ted Unangst | |
2013-08-14 | no longer any need to quote macro lines with >9 args; | Jason McIntyre | |
From: Jan Stary | |||
2013-07-16 | use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@ | Ingo Schwarze | |
2013-06-24 | space needed before punctuation; | Jason McIntyre | |
2013-06-17 | Add support for the _POSIX_CPUTIME and _POSIX_THREAD_CPUTIME options, | Philip Guenther | |
including CLOCK_{PROCESS,THREAD}_CPUTIME_ID constants and {clock,pthread}_getcpuclockid() functions. Worked out at t2k13 with help from tedu@ and matthew@ and testing by aja@ ok matthew@ | |||
2013-06-05 | use fancy .In macro for includes. from Jan Klemkow. ok jmc schwarze | Ted Unangst | |