Searched defs:mutex (Results 1 - 10 of 10) sorted by relevance
/httpd/include/ |
H A D | util_ldap.h | 151 apr_thread_mutex_t *mutex; /* mutex lock for the connection list */ member in struct:util_ldap_state_t
|
/httpd/modules/ssl/ |
H A D | ssl_util.c | 229 apr_thread_mutex_t *mutex; member in struct:CRYPTO_dynlock_value 246 * We need a pool to allocate our mutex. Since we can't clear 260 rv = apr_thread_mutex_create(&(value->mutex), APR_THREAD_MUTEX_DEFAULT, 264 "Failed to create thread mutex for dynamic lock"); 282 "Acquiring mutex %s:%d", l->file, l->line); 283 rv = apr_thread_mutex_lock(l->mutex); 289 "Releasing mutex %s:%d", l->file, l->line); 290 rv = apr_thread_mutex_unlock(l->mutex); 306 rv = apr_thread_mutex_destroy(l->mutex); 309 APLOGNO(02192) "Failed to destroy mutex fo [all...] |
/httpd/server/mpm/motorz/ |
H A D | motorz.h | 140 apr_proc_mutex_t *mutex; member in struct:motorz_child_bucket
|
/httpd/test/ |
H A D | time-sem.c | 82 * Initialize mutex lock. 142 * Initialize mutex lock. 293 static pthread_mutex_t *mutex; variable 310 mutex = (pthread_mutex_t *)mmap ((caddr_t)0, sizeof (*mutex), 312 if (mutex == (void *)(caddr_t)-1) { 325 if (pthread_mutex_init(mutex, &mattr)) { 341 if (pthread_mutex_lock (mutex)) { 349 if (pthread_mutex_unlock (mutex)) { 437 #include <sys/mutex [all...] |
/httpd/modules/core/ |
H A D | mod_watchdog.c | 47 apr_proc_mutex_t *mutex; member in struct:ap_watchdog_t 99 /* mutex is running. Threads in other child's are locked on mutex. */ 115 if (w->mutex) { 125 rv = apr_proc_mutex_trylock(w->mutex); 258 apr_proc_mutex_unlock(w->mutex); 268 /* Create thread startup mutex */ 274 /* Initialize singleton mutex in child */ 275 rc = apr_proc_mutex_child_init(&w->mutex, 276 apr_proc_mutex_lockfile(w->mutex), [all...] |
/httpd/modules/database/ |
H A D | mod_dbd.c | 61 apr_thread_mutex_t *mutex; member in struct:dbd_group_t 628 * either in the child_init phase or dbd_setup_lock() acquired our mutex. 630 * reslist calls, which have an internal mutex. 686 /* we failed, so create a mutex so that subsequent competing callers 689 rv2 = apr_thread_mutex_create(&group->mutex, 693 "Failed to create thread mutex"); 719 if (!group->mutex) { 720 /* we already logged an error when the mutex couldn't be created */ 724 rv2 = apr_thread_mutex_lock(group->mutex); 727 "Failed to acquire thread mutex"); [all...] |
/httpd/server/mpm/prefork/ |
H A D | prefork.c | 132 apr_proc_mutex_t *mutex; member in struct:prefork_child_bucket 245 apr_status_t rv = apr_proc_mutex_lock(my_bucket->mutex); 247 const char *msg = "couldn't grab the accept mutex"; 264 apr_status_t rv = apr_proc_mutex_unlock(my_bucket->mutex); 266 const char *msg = "couldn't release the accept mutex"; 549 status = SAFE_ACCEPT(apr_proc_mutex_child_init(&my_bucket->mutex, 550 apr_proc_mutex_lockfile(my_bucket->mutex), 553 lockfile = apr_proc_mutex_lockfile(my_bucket->mutex); 558 apr_proc_mutex_name(my_bucket->mutex)); 1040 "Accept mutex [all...] |
/httpd/modules/loggers/ |
H A D | mod_log_config.c | 257 apr_anylock_t mutex; member in struct:__anon197 1576 this->mutex.type = apr_anylock_threadmutex; 1577 rv = apr_thread_mutex_create(&this->mutex.lock.tm, 1582 "could not initialize buffered log mutex, " 1584 this->mutex.type = apr_anylock_none; 1590 this->mutex.type = apr_anylock_none; 1771 if ((rv = APR_ANYLOCK_LOCK(&buf->mutex)) != APR_SUCCESS) { 1803 APR_ANYLOCK_UNLOCK(&buf->mutex);
|
/httpd/server/mpm/worker/ |
H A D | worker.c | 18 * model. Because of the way that pthreads and mutex locks interact, 183 apr_proc_mutex_t *mutex; member in struct:worker_child_bucket 775 if ((rv = SAFE_ACCEPT(apr_proc_mutex_lock(my_bucket->mutex))) 856 if ((rv = SAFE_ACCEPT(apr_proc_mutex_unlock(my_bucket->mutex))) 880 if ((rv = SAFE_ACCEPT(apr_proc_mutex_unlock(my_bucket->mutex))) 975 * AIX, which sanity-checks mutex operations) since the queue 1254 rv = SAFE_ACCEPT(apr_proc_mutex_child_init(&my_bucket->mutex, 1255 apr_proc_mutex_lockfile(my_bucket->mutex), 1872 "Accept mutex: %s (default: %s)", 1873 (all_buckets[0].mutex) [all...] |
/httpd/modules/proxy/ |
H A D | mod_proxy.h | 167 apr_global_mutex_t *mutex; /* global lock - not used */ member in struct:__anon275 686 * Initialize the worker by setting up worker connection pool and mutex 689 * @param p memory pool used for mutex and connection pool 761 * @param p memory pool used for mutex and connection pool
|
Completed in 1137 milliseconds