Home | History | Annotate | Download | only in gen
History log of /src/lib/libc/gen/sleep.c
RevisionDateAuthorComments
 1.23  25-Jun-2012  abs Update old-style definitions to ANSI, remove a couple of register
definitions along the way. Fixed gcc 4.1 build (thank you vax)
 1.22  28-Apr-2008  martin branches: 1.22.4; 1.22.8;
Remove clause 3 and 4 from TNF licenses
 1.21  22-Jan-2000  mycroft branches: 1.21.38;
Delint.
Remove trailing ; from uses of __weak_alias(). The macro inserts this if
needed.
 1.20  13-Nov-1998  christos delint
 1.19  21-Jul-1997  jtc If port provides __weak_alias(), provide an Standard C and POSIX pure
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore. The library will use those
names internally. Weak aliases are used to provide the original names
to the API.

This is only the first part of this change. It is most of the functions
which are implemented in C for all NetBSD ports. Subsequent changes are
to add the same support to the remaining C files, to assembly files, and
to the automagically generated assembly source used for system calls.
When all of the above is done, ports with weak alias support should add
a definition for __weak_alias to <sys/cdefs.h>.
 1.18  19-Jul-1997  kleink __RCSID() police, typo in variable name; from jbernard@tater.mines.edu in
PR lib/3889.
 1.17  19-Jul-1997  jtc Implement sleep() and usleep() in terms of nanosleep(). Uses only one
syscall instead of eight, and doesn't have any interactions with alarm
or interval timers.
 1.16  13-Jul-1997  christos Prototype sleephandler
Fix RCSID's
 1.15  02-Aug-1996  phil branches: 1.15.2;
Make it correctly return unslept seconds if interrupted for any other
reason than SIGALRM. (Was ALWAYS returning 0.)
 1.14  11-May-1996  mycroft branches: 1.14.4;
Slight simplification.
 1.13  26-Oct-1995  pk Eliminate race by stopping timer before restarting it with remaining time
(one more system call).
 1.12  20-Oct-1995  pk Eliminate race in the "normal" case of not being interrupted by another signal.
 1.11  16-Oct-1995  pk 1) Turn off timer before resetting signal disposition.
2) Set signal mask before signal action, to avoid held SIGALRMs
bursting in after unsetting the handler.
 1.10  03-May-1995  mycroft branches: 1.10.2;
Explicitly unblock SIGALRM while waiting.
 1.9  21-Mar-1995  mycroft Minor changes.
 1.8  21-Mar-1995  mycroft Update to use timer{add,sub}().
 1.7  04-Mar-1995  cgd fix up some RCS Id's i botched.
 1.6  27-Feb-1995  cgd merge with 4.4-Lite, keeping local changes. clean up Ids
 1.5  11-Dec-1994  mycroft branches: 1.5.2;
Clean this up a little. No functional changes.
 1.4  28-May-1994  jtc Changed to be POSIX.1 complian; now sleep can be interrupted, and it returns
the amount of time left "unslept" when it is.
 1.3  26-Aug-1993  jtc Declare rcsid strings so they are stored in text segment.
 1.2  30-Jul-1993  mycroft Add even more RCS frobs.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  25-Feb-1995  cgd from lite, with minor name rearrangement to fit.
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.5.2.1  02-May-1995  jtc #include "namespace.h"
 1.10.2.2  26-Oct-1995  pk Eliminate race by stopping timer before restarting it with remaining time
(one more system call).
 1.10.2.1  20-Oct-1995  pk Update from trunk: race conditions.
 1.14.4.1  05-Aug-1996  jtc Pulled up from rev 1.15 by request from Phil Nelson
 1.15.2.2  20-Sep-1996  jtc snapshot namespace cleanup: net, etc.
 1.15.2.1  19-Sep-1996  jtc snapshot namespace cleanup: gen
 1.21.38.1  18-May-2008  yamt sync with head.
 1.22.8.2  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.22.8.1  28-Apr-2008  martin file sleep.c was added on branch christos-time_t on 2008-04-28 20:23:00 +0000
 1.22.4.1  30-Oct-2012  yamt sync with head

RSS XML Feed