Definition:
void ap_block_alarms(void);
Usage example:
ap_block_alarms();
pid = fork();
if (pid == 0) {
/* Do something as the child */
}
else {
/* Do something as the parent */
}
ap_unblock_alarms();
Blocks pending timeouts, protecting critical code sections.
Calls to this function can be nested, but each call must have a corresponding call to unblock_alarms.
Previous: ap_bhalfduplex
Next: ap_blookc
Table of Contents
(Routines,
Structures,
Data Cells,
Constants)