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

Function mutex_needs_file

server/util_mutex.c:279–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277}
278
279static int mutex_needs_file(apr_lockmech_e mech)
280{
281 if (mech != APR_LOCK_FLOCK
282 && mech != APR_LOCK_FCNTL
283#if APR_USE_FLOCK_SERIALIZE || APR_USE_FCNTL_SERIALIZE
284 && mech != APR_LOCK_DEFAULT
285#endif
286 ) {
287 return 0;
288 }
289 return 1;
290}
291
292static const char *get_mutex_filename(apr_pool_t *p, mutex_cfg_t *mxcfg,
293 const char *type,

Callers 2

get_mutex_filenameFunction · 0.85
mxcfg_lookupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected