Name
ap_block_alarms() — temporarily prevents a timeout from occurring
Synopsis
void ap_block_alarms(void)
Temporarily blocks any pending timeouts. Protects critical sections
of code that would leak resources (or would go wrong in some other
way) if a timeout occurred during their execution. Calls to this
function can be nested, but each call must be matched by a call to
ap_unblock_alarms()
.
Get Apache: The Definitive Guide, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.