summaryrefslogtreecommitdiff
path: root/lib/libc/sys/_lwp_park.2
AgeCommit message (Collapse)Author
2022-12-04Tweak markup in _lwp_*(2) manual pagesuwe
Use .Rv where possible. Some manual pages claimed that the error "is returned", but RTFS and some quick testing indicate that this is wrong. The commit message from 2003 says that: Note our current implementation mis-matches [man pages] slightly (error codes are stuffed into errno, where they should simply be returned by these calls). This will be addressed shortly. That hasn't happened in the 20 years, so we might as well make the man pages reflect the reality.
2019-07-31Fix a couple of typospgoyette
2017-12-08Remove trailing whitespace.wiz
2017-12-08make _lwp_park return the remaining time to sleep in the "ts" argumentchristos
if it is a relative timestamp, as discussed in tech-kern. XXX: pullup-8
2014-01-31Fix prototype in SYNOPSIS, mark up NULL with Dv.wiz
2014-01-31expose __lwp_park60christos
2008-04-30Convert TNF licenses to new 2 clause variantmartin
2007-09-25remove extraneous "has"tnn
2007-08-07Change the signature of _lwp_park() to accept an lwpid_t and secondad
hint pointer, but do so in a way that remains compatible with older pthread libraries. This can be used to wake another thread before the calling thread goes asleep, saving at least one syscall + involuntary context switch. This turns out to be a fairly large win on the condvar benchmarks that I have tried.
2007-02-10- Sync with reality.ad
- Fix date.
2007-01-20Sort ERRORS section.wiz
2007-01-20Drop trailing whitespace.wiz
2007-01-20Manual pages for new LWP system calls. Not enabled in the Makefile.ad