mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-11 23:43:19 +00:00
Adds comment clarifying requirement to call alarm(0) after S_TOUT
This commit is contained in:
parent
9f1bcb9299
commit
e2f69f4e48
@ -37,6 +37,10 @@ extern unsigned int TIMEOUT_TIME;
|
||||
alarm(0); \
|
||||
} while (0)
|
||||
|
||||
|
||||
/* After any use of S_TOUT one should call alarm(0) to cancel
|
||||
* the last pending alarm.
|
||||
*/
|
||||
#define S_TOUT(exp) \
|
||||
alarm(TIMEOUT_TIME), \
|
||||
(exp)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user