Apache 1.3 API Documentation

Routine ap_block_alarms

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.

See also:
ap_unblock_alarms

Previous: ap_bhalfduplex Next: ap_blookc

Table of Contents (Routines, Structures, Data Cells, Constants)