Home
last modified time | relevance | path

Searched refs:mq (Results 1 – 4 of 4) sorted by relevance

/redis-3.2.3/deps/jemalloc/test/include/test/
H A Dmq.h40 if (mtx_init(&mq->lock)) \
42 ql_new(&mq->msgs); \
43 mq->count = 0; \
50 mtx_fini(&mq->lock); \
57 mtx_lock(&mq->lock); \
58 count = mq->count; \
59 mtx_unlock(&mq->lock); \
67 mtx_lock(&mq->lock); \
71 mq->count--; \
104 mtx_lock(&mq->lock); \
[all …]
H A Djemalloc_test.h.in146 #include "test/mq.h"
/redis-3.2.3/deps/jemalloc/test/unit/
H A Dmq.c14 mq_t mq; in mq_gen() local
19 assert_ptr_null(mq_tryget(&mq), in mq_gen()
22 mq_put(&mq, &msg); in mq_gen()
26 mq_put(&mq, &msg); in mq_gen()
29 mq_fini(&mq); in mq_gen()
36 mq_t *mq = (mq_t *)arg; in thd_receiver_start() local
40 mq_msg_t *msg = mq_get(mq); in thd_receiver_start()
50 mq_t *mq = (mq_t *)arg; in thd_sender_start() local
59 mq_put(mq, msg); in thd_sender_start()
66 mq_t mq; in TEST_BEGIN() local
[all …]
/redis-3.2.3/deps/jemalloc/
H A DMakefile.in116 $(srcroot)test/src/mtx.c $(srcroot)test/src/mq.c \
130 $(srcroot)test/unit/mq.c \