Lines Matching refs:apr_proc_mutex_t
24 APR_DECLARE(apr_status_t) apr_proc_mutex_destroy(apr_proc_mutex_t *mutex)
31 static apr_status_t proc_mutex_no_child_init(apr_proc_mutex_t **mutex,
40 static apr_status_t proc_mutex_no_perms_set(apr_proc_mutex_t *mutex,
58 static apr_status_t proc_mutex_spinsleep_timedacquire(apr_proc_mutex_t *mutex,
96 apr_proc_mutex_t *mutex = mutex_;
120 static apr_status_t proc_mutex_posix_create(apr_proc_mutex_t *new_mutex,
193 static apr_status_t proc_mutex_posix_acquire(apr_proc_mutex_t *mutex)
207 static apr_status_t proc_mutex_posix_tryacquire(apr_proc_mutex_t *mutex)
225 static apr_status_t proc_mutex_posix_timedacquire(apr_proc_mutex_t *mutex,
255 static apr_status_t proc_mutex_posix_release(apr_proc_mutex_t *mutex)
312 apr_proc_mutex_t *mutex=mutex_;
322 static apr_status_t proc_mutex_sysv_create(apr_proc_mutex_t *new_mutex,
348 static apr_status_t proc_mutex_sysv_acquire(apr_proc_mutex_t *mutex)
362 static apr_status_t proc_mutex_sysv_tryacquire(apr_proc_mutex_t *mutex)
380 static apr_status_t proc_mutex_sysv_timedacquire(apr_proc_mutex_t *mutex,
410 static apr_status_t proc_mutex_sysv_release(apr_proc_mutex_t *mutex)
424 static apr_status_t proc_mutex_sysv_perms_set(apr_proc_mutex_t *mutex,
509 static APR_INLINE int proc_pthread_mutex_inc(apr_proc_mutex_t *mutex)
518 static APR_INLINE int proc_pthread_mutex_dec(apr_proc_mutex_t *mutex)
528 apr_proc_mutex_t *mutex=mutex_;
568 apr_proc_mutex_t *mutex=mutex_;
583 static apr_status_t proc_mutex_pthread_create(apr_proc_mutex_t *new_mutex,
679 static apr_status_t proc_mutex_pthread_child_init(apr_proc_mutex_t **mutex,
691 static apr_status_t proc_mutex_pthread_acquire_ex(apr_proc_mutex_t *mutex,
841 static apr_status_t proc_mutex_pthread_acquire(apr_proc_mutex_t *mutex)
846 static apr_status_t proc_mutex_pthread_tryacquire(apr_proc_mutex_t *mutex)
852 static apr_status_t proc_mutex_pthread_timedacquire(apr_proc_mutex_t *mutex,
858 static apr_status_t proc_mutex_pthread_release(apr_proc_mutex_t *mutex)
933 static apr_status_t proc_mutex_pthread_cond_create(apr_proc_mutex_t *new_mutex,
1002 static apr_status_t proc_mutex_fcntl_release(apr_proc_mutex_t *);
1021 apr_proc_mutex_t *mutex=mutex_;
1041 static apr_status_t proc_mutex_fcntl_create(apr_proc_mutex_t *new_mutex,
1075 static apr_status_t proc_mutex_fcntl_acquire(apr_proc_mutex_t *mutex)
1089 static apr_status_t proc_mutex_fcntl_tryacquire(apr_proc_mutex_t *mutex)
1110 static apr_status_t proc_mutex_fcntl_release(apr_proc_mutex_t *mutex)
1124 static apr_status_t proc_mutex_fcntl_perms_set(apr_proc_mutex_t *mutex,
1163 static apr_status_t proc_mutex_flock_release(apr_proc_mutex_t *);
1168 apr_proc_mutex_t *mutex=mutex_;
1190 static apr_status_t proc_mutex_flock_create(apr_proc_mutex_t *new_mutex,
1223 static apr_status_t proc_mutex_flock_acquire(apr_proc_mutex_t *mutex)
1237 static apr_status_t proc_mutex_flock_tryacquire(apr_proc_mutex_t *mutex)
1254 static apr_status_t proc_mutex_flock_release(apr_proc_mutex_t *mutex)
1268 static apr_status_t proc_mutex_flock_child_init(apr_proc_mutex_t **mutex,
1272 apr_proc_mutex_t *new_mutex;
1282 new_mutex = (apr_proc_mutex_t *)apr_pmemdup(pool, *mutex,
1283 sizeof(apr_proc_mutex_t));
1298 static apr_status_t proc_mutex_flock_perms_set(apr_proc_mutex_t *mutex,
1346 static apr_status_t proc_mutex_choose_method(apr_proc_mutex_t *new_mutex,
1522 apr_proc_mutex_t mutex;
1532 static apr_status_t proc_mutex_create(apr_proc_mutex_t *new_mutex, apr_lockmech_e mech, const char *fname)
1548 APR_DECLARE(apr_status_t) apr_proc_mutex_create(apr_proc_mutex_t **mutex,
1553 apr_proc_mutex_t *new_mutex;
1556 new_mutex = apr_pcalloc(pool, sizeof(apr_proc_mutex_t));
1566 APR_DECLARE(apr_status_t) apr_proc_mutex_child_init(apr_proc_mutex_t **mutex,
1573 APR_DECLARE(apr_status_t) apr_proc_mutex_lock(apr_proc_mutex_t *mutex)
1578 APR_DECLARE(apr_status_t) apr_proc_mutex_trylock(apr_proc_mutex_t *mutex)
1583 APR_DECLARE(apr_status_t) apr_proc_mutex_timedlock(apr_proc_mutex_t *mutex,
1593 APR_DECLARE(apr_status_t) apr_proc_mutex_unlock(apr_proc_mutex_t *mutex)
1600 return ((apr_proc_mutex_t *)mutex)->meth->cleanup(mutex);
1603 APR_DECLARE(apr_lockmech_e) apr_proc_mutex_mech(apr_proc_mutex_t *mutex)
1608 APR_DECLARE(const char *) apr_proc_mutex_name(apr_proc_mutex_t *mutex)
1613 APR_DECLARE(const char *) apr_proc_mutex_lockfile(apr_proc_mutex_t *mutex)
1632 apr_proc_mutex_t *mutex = (apr_proc_mutex_t *)theproc_mutex;
1641 apr_proc_mutex_t *pmutex,
1652 apr_proc_mutex_t *pmutex)
1657 APR_DECLARE(apr_status_t) apr_os_proc_mutex_put_ex(apr_proc_mutex_t **pmutex,
1669 (*pmutex) = (apr_proc_mutex_t *)apr_pcalloc(pool,
1670 sizeof(apr_proc_mutex_t));
1688 APR_DECLARE(apr_status_t) apr_os_proc_mutex_put(apr_proc_mutex_t **pmutex,