summaryrefslogtreecommitdiffstats
path: root/libc/unistd/sleep.c
Commit message (Collapse)AuthorAgeFilesLines
* Daniel Jacobowitz: sleep()/usleep() relies on nanosleep() being a cancellationMike Frysinger2007-05-021-1/+1
| | | | | | point but the files have "libc_hidden_proto(nanosleep)" which means it always calls the libc.so version, never the wrapped version in libpthread.so that's a cancellation point.
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-141-10/+16
| | | | missing headers, other jump relocs removed
* Fix alias."Steven J. Hill"2005-12-101-0/+1
|
* Remove unused weak_alias. Thanks Peter."Steven J. Hill"2005-12-101-1/+0
|
* Convert the rest of users to hiddenPeter S. Mazinger2005-12-081-2/+3
|
* Do __sleep, should we make it weak, so that libpthread can overwrite it?Peter S. Mazinger2005-12-081-2/+3
|
* More hiding, including __mempcpyPeter S. Mazinger2005-12-031-0/+2
|
* Hide mostly used functionsPeter S. Mazinger2005-12-011-4/+4
|
* Make sleep behave itself properly inthe presence of SIGCHLDEric Andersen2003-12-301-6/+3
|
* Sleep was returning the wrong value because:David McCullough2003-05-141-2/+4
| | | | | | | | | * nanosleep returns the remaining time, not the time slept * nanosleep only fills out the remaining time if it returns -1 (ie., the sleep was interrupted) Fix from Paul Dale <pauli@snapgear.com>
* Take the shorcut version, which is good enough forEric Andersen2002-01-021-2/+2
| | | | | nearly all normal usage. -Erik
* Fix usleep to work correctly. Fix sleep behavior in theEric Andersen2002-01-021-14/+98
| | | | | presence of SIGCHLD. -Erik
* Update to accomodate the header file changesEric Andersen2001-09-271-2/+2
|
* More cleanups. Fix things so tinylogin compiles.Eric Andersen2000-11-041-1/+1
| | | | Fix a bug in getdelim -- patch from David Whedon <dwhedon@gordian.com>.
* Reorg unistd dirEric Andersen2000-10-111-0/+24