MCPcopy Create free account
hub / github.com/apache/httpd / ap_queue_info_term

Function ap_queue_info_term

server/mpm_fdqueue.c:299–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297
298
299apr_status_t ap_queue_info_term(fd_queue_info_t *queue_info)
300{
301 apr_status_t rv;
302
303 rv = apr_thread_mutex_lock(queue_info->idlers_mutex);
304 if (rv != APR_SUCCESS) {
305 return rv;
306 }
307
308 queue_info->terminated = 1;
309 apr_thread_cond_broadcast(queue_info->wait_for_idler);
310
311 return apr_thread_mutex_unlock(queue_info->idlers_mutex);
312}
313
314/**
315 * Detects when the fd_queue_t is full. This utility function is expected

Callers 3

mpm_fdqueue.hFile · 0.85
wakeup_listenerFunction · 0.85
wakeup_listenerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected