aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/timer.c
Commit message (Collapse)AuthorAgeFilesLines
* properly mark Attic files as deletedKen Raeburn2001-07-061-368/+0
|
* Eliminate some -Wall warnings.David J. MacKenzie1994-10-121-1/+0
|
* Don't declare malloc.Richard M. Stallman1994-09-171-1/+1
|
* (xmalloc): New function.Richard M. Stallman1994-07-131-0/+17
|
* Include errno.h; don't include fasync.h.Richard M. Stallman1994-01-191-84/+114
| | | | | | | | | | | | | | | | | | | | | (schedule): Don't return a value. (sigcatch): Reestablish the handler first. (getevent): Always call notify at the end. (notify): Defer alarms around the whole body of function. (main): Don't request SIGIO, and don't handle it. Loop calling getevent. (sigcatch): Delete code to handle SIGIO. If defer_alarms is set, don't call notify, just set alarm_deferred. (getevent): Use read, not getchar. Handle EINTR and EAGAIN. Set defer_alarms around realloc and schedule. If alarm_deferred gets set, call notify. Likewise if this event is the only pending event. Make buf and buf_size global variables. Don't malloc buf if it is already non-zero. (schedule): Just exit if run out of memory. Return the number of events. (signal) [_CX_UX]: Add #undef.
* [USG] (SIGIO): Define as SIGPOLL.Richard M. Stallman1994-01-121-1/+4
| | | | (main) [USG]: Do ioctl to enable SIGPOLL.
* [! HAVE_STRERROR] (strerror): Define the function.Roland McGrath1994-01-081-0/+15
|
* Don't declare sys_errlist; declare strerror instead.Roland McGrath1994-01-081-4/+4
| | | | (schedule, main): Call strerror instead of using sys_errlist.
* Include <config.h> instead of "config.h".Roland McGrath1993-09-101-1/+1
|
* (main): Generate a SIGIO as soon as we've initialized.Richard M. Stallman1993-08-011-1/+5
|
* Apply typo patches from Paul Eggert.Jim Blandy1993-06-091-1/+1
|
* [LINUX]: #undef signal.Richard M. Stallman1993-06-011-0/+6
|
* * timer.c (notify): Don't call sighold or sigrelse; they're USGJim Blandy1993-05-161-2/+2
| | | | | only. We should really fix this later, but let's just make it compile for now.
* * timer.c: Fix mispellings of get_date function's name.Jim Blandy1993-05-151-2/+2
|
* (notify): Bug fix. Treat the body of this function as a critical region.Eric S. Raymond1993-04-271-4/+16
|
* * timer.c (main): Set the ownership of the stdin file descriptorJim Blandy1993-03-111-2/+13
| | | | | | | | to the current process. Print error messages if either of the fcntl's fails. * timer.c (sigcatch): Declare this to return SIGTYPE (defined in ../src/config.h), not void.
* * timer.c (notify): Initialize waitfor properly.Jim Blandy1993-03-021-1/+1
|
* Also, write a newline after the token.Michael I. Bushnell1993-01-081-4/+4
|
* Also, write a newline after the token.Michael I. Bushnell1993-01-081-1/+1
|
* timer.c (notify): Flush stdout after writing message to avoid lossageMichael I. Bushnell1993-01-081-0/+1
| | | | on terminals.
* timer.c (notify): Flush stdout after writing message to avoid lossageMichael I. Bushnell1993-01-081-0/+1
| | | | on terminals.
* entered into RCSJim Blandy1992-08-191-143/+191
|
* *** empty log message ***Jim Blandy1992-08-121-109/+175
|
* *** empty log message ***Jim Blandy1992-04-241-2/+2
|
* *** empty log message ***Jim Blandy1991-12-041-1/+1
|
* Initial revisionroot1990-01-201-0/+155