| 277 | } |
| 278 | |
| 279 | static 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 | |
| 292 | static const char *get_mutex_filename(apr_pool_t *p, mutex_cfg_t *mxcfg, |
| 293 | const char *type, |
no outgoing calls
no test coverage detected