1
0
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:
Nick Briggs 2025-10-20 16:57:00 -07:00
parent 9f1bcb9299
commit e2f69f4e48

View File

@ -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)