diff options
author | Patrick Pelissier <patrick.pelissier@gmail.com> | 2022-10-11 00:08:30 +0300 |
---|---|---|
committer | Patrick Pelissier <patrick.pelissier@gmail.com> | 2022-10-11 00:08:30 +0300 |
commit | b82670b6432733b880b82333eb188410cd1a9355 (patch) | |
tree | a00738b4836065eb650121bd28dae9847845f5da /m-concurrent.h | |
parent | 64800dbd3f8d0259f83846a8c092c48d32e63dea (diff) |
Add emplace support for concurrent.
Diffstat (limited to 'm-concurrent.h')
-rw-r--r-- | m-concurrent.h | 2 |
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)( \ |