aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/timer.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2001-07-06properly mark Attic files as deletedKen Raeburn1-368/+0
1994-10-12Eliminate some -Wall warnings.David J. MacKenzie1-1/+0
1994-09-17Don't declare malloc.Richard M. Stallman1-1/+1
1994-07-13(xmalloc): New function.Richard M. Stallman1-0/+17
1994-01-19Include errno.h; don't include fasync.h.Richard M. Stallman1-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.
1994-01-12[USG] (SIGIO): Define as SIGPOLL.Richard M. Stallman1-1/+4
(main) [USG]: Do ioctl to enable SIGPOLL.
1994-01-08[! HAVE_STRERROR] (strerror): Define the function.Roland McGrath1-0/+15
1994-01-08Don't declare sys_errlist; declare strerror instead.Roland McGrath1-4/+4
(schedule, main): Call strerror instead of using sys_errlist.
1993-09-10Include <config.h> instead of "config.h".Roland McGrath1-1/+1
1993-08-01(main): Generate a SIGIO as soon as we've initialized.Richard M. Stallman1-1/+5
1993-06-09Apply typo patches from Paul Eggert.Jim Blandy1-1/+1
1993-06-01[LINUX]: #undef signal.Richard M. Stallman1-0/+6
1993-05-16* timer.c (notify): Don't call sighold or sigrelse; they're USGJim Blandy1-2/+2
only. We should really fix this later, but let's just make it compile for now.
1993-05-15* timer.c: Fix mispellings of get_date function's name.Jim Blandy1-2/+2
1993-04-27(notify): Bug fix. Treat the body of this function as a critical region.Eric S. Raymond1-4/+16
1993-03-11* timer.c (main): Set the ownership of the stdin file descriptorJim Blandy1-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.
1993-03-02* timer.c (notify): Initialize waitfor properly.Jim Blandy1-1/+1
1993-01-08Also, write a newline after the token.Michael I. Bushnell1-4/+4
1993-01-08Also, write a newline after the token.Michael I. Bushnell1-1/+1
1993-01-08timer.c (notify): Flush stdout after writing message to avoid lossageMichael I. Bushnell1-0/+1
on terminals.
1993-01-08timer.c (notify): Flush stdout after writing message to avoid lossageMichael I. Bushnell1-0/+1
on terminals.
1992-08-19entered into RCSJim Blandy1-143/+191
1992-08-12*** empty log message ***Jim Blandy1-109/+175
1992-04-24*** empty log message ***Jim Blandy1-2/+2
1991-12-04*** empty log message ***Jim Blandy1-1/+1
1990-01-20Initial revisionroot1-0/+155