Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/P-p-H-d/mlib.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Pelissier <patrick.pelissier@gmail.com>2022-10-11 00:08:30 +0300
committerPatrick Pelissier <patrick.pelissier@gmail.com>2022-10-11 00:08:30 +0300
commitb82670b6432733b880b82333eb188410cd1a9355 (patch)
treea00738b4836065eb650121bd28dae9847845f5da /m-concurrent.h
parent64800dbd3f8d0259f83846a8c092c48d32e63dea (diff)
Add emplace support for concurrent.
Diffstat (limited to 'm-concurrent.h')
-rw-r--r--m-concurrent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/m-concurrent.h b/m-concurrent.h
index 335a7d3..3cc80b0 100644
--- a/m-concurrent.h
+++ b/m-concurrent.h
@@ -515,6 +515,8 @@
M_C(name, _write_signal)(out); \
M_C(name, _write_unlock)(out); \
} \
+ \
+ M_EMPLACE_QUEUE_DEF(name, concurrent_t, M_C(name, _emplace), M_GET_OPLIST oplist, M_EMPLACE_QUEUE_GENE) \
,) \
\
M_IF_METHOD(POP, oplist)( \