Home
last modified time | relevance | path

Searched refs:nxt_thread_mutex_t (Results 1 – 9 of 9) sorted by relevance

/unit/src/
H A Dnxt_thread.h101 typedef pthread_mutex_t nxt_thread_mutex_t; typedef
103 NXT_EXPORT nxt_int_t nxt_thread_mutex_create(nxt_thread_mutex_t *mtx);
104 NXT_EXPORT void nxt_thread_mutex_destroy(nxt_thread_mutex_t *mtx);
105 NXT_EXPORT nxt_int_t nxt_thread_mutex_lock(nxt_thread_mutex_t *mtx);
106 NXT_EXPORT nxt_bool_t nxt_thread_mutex_trylock(nxt_thread_mutex_t *mtx);
107 NXT_EXPORT nxt_int_t nxt_thread_mutex_unlock(nxt_thread_mutex_t *mtx);
116 nxt_thread_mutex_t *mtx, nxt_nsec_t timeout);
H A Dnxt_thread_mutex.c81 nxt_thread_mutex_create(nxt_thread_mutex_t *mtx) in nxt_thread_mutex_create()
117 nxt_thread_mutex_destroy(nxt_thread_mutex_t *mtx) in nxt_thread_mutex_destroy()
131 nxt_thread_mutex_lock(nxt_thread_mutex_t *mtx) in nxt_thread_mutex_lock()
149 nxt_thread_mutex_trylock(nxt_thread_mutex_t *mtx) in nxt_thread_mutex_trylock()
174 nxt_thread_mutex_unlock(nxt_thread_mutex_t *mtx) in nxt_thread_mutex_unlock()
H A Dnxt_semaphore.h19 nxt_thread_mutex_t mutex;
H A Dnxt_thread_cond.c58 nxt_thread_cond_wait(nxt_thread_cond_t *cond, nxt_thread_mutex_t *mtx, in nxt_thread_cond_wait()
H A Dnxt_runtime.h40 nxt_thread_mutex_t processes_mutex;
H A Dnxt_process.h69 nxt_thread_mutex_t mutex;
H A Dnxt_router.h108 nxt_thread_mutex_t mutex; /* Protects ports queue. */
H A Dnxt_port.h241 nxt_thread_mutex_t write_mutex;
H A Dnxt_openssl.c214 static nxt_thread_mutex_t *nxt_openssl_locks;
224 nxt_openssl_locks = OPENSSL_malloc(n * sizeof(nxt_thread_mutex_t)); in nxt_openssl_locks_init()
247 nxt_thread_mutex_t *lock; in nxt_openssl_lock()