Searched refs:hash_mutex (Results 1 - 2 of 2) sorted by path

/freebsd-11-stable/contrib/apr/atomic/unix/
H A Dmutex.c40 static apr_thread_mutex_t **hash_mutex; variable
48 if (hash_mutex == data)
49 hash_mutex = NULL;
59 if (hash_mutex != NULL)
62 hash_mutex = apr_palloc(p, sizeof(apr_thread_mutex_t*) * NUM_ATOMIC_HASH);
63 apr_pool_cleanup_register(p, hash_mutex, atomic_cleanup,
67 rv = apr_thread_mutex_create(&(hash_mutex[i]),
79 apr_thread_mutex_t *mutex = hash_mutex[ATOMIC_HASH(mem)];
H A Dmutex64.c40 static apr_thread_mutex_t **hash_mutex; variable
48 if (hash_mutex == data)
49 hash_mutex = NULL;
59 if (hash_mutex != NULL)
62 hash_mutex = apr_palloc(p, sizeof(apr_thread_mutex_t*) * NUM_ATOMIC_HASH);
63 apr_pool_cleanup_register(p, hash_mutex, atomic_cleanup,
67 rv = apr_thread_mutex_create(&(hash_mutex[i]),
79 apr_thread_mutex_t *mutex = hash_mutex[ATOMIC_HASH(mem)];

Completed in 172 milliseconds