summaryrefslogtreecommitdiffstats
path: root/src/svm/test_svm_message_queue.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2018-08-01 07:53:18 -0700
committerDamjan Marion <dmarion@me.com>2018-08-03 09:11:41 +0000
commitc470e22f12a68f06990f57f12f551fee50b6bb0d (patch)
tree9215cfda7e70ffd2f6789b638b895ea3a7d3d7a3 /src/svm/test_svm_message_queue.c
parentc64ba6dc6ab9e3b06feac1a86c2f59d7052609ce (diff)
svm: add support for eventfd signaling to queue
Support the use of eventfds to signal queue updates between consumer and producer pairs. Change-Id: Idb6133be2b731fff78ed520daf9d2e0399642aab Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/svm/test_svm_message_queue.c')
-rw-r--r--src/svm/test_svm_message_queue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/svm/test_svm_message_queue.c b/src/svm/test_svm_message_queue.c
index 758163ffeab..9441c593ef2 100644
--- a/src/svm/test_svm_message_queue.c
+++ b/src/svm/test_svm_message_queue.c
@@ -169,6 +169,7 @@ main (int argc, char *argv[])
unformat_input_t i;
int r;
+ clib_mem_init_thread_safe (0, 256 << 20);
unformat_init_command_line (&i, argv);
r = test_svm_message_queue (&i);
unformat_free (&i);