From 1553197f9a1a3258b6954adeb9536bbe0191683d Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Sun, 12 Aug 2018 23:50:53 -0700 Subject: session: add support for multiple app workers Refactor session layer to support multiple workers per application. Change-Id: Ie67354688d396449d14bbbb8c56050206e307cd8 Signed-off-by: Florin Coras --- src/svm/queue.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/svm') diff --git a/src/svm/queue.h b/src/svm/queue.h index 3e8031e897b..de79caa38f8 100644 --- a/src/svm/queue.h +++ b/src/svm/queue.h @@ -39,12 +39,13 @@ typedef struct _svm_queue typedef enum { - SVM_Q_WAIT = 0, /**< blocking call - must be used only in combination - with condvars */ + SVM_Q_WAIT = 0, /**< blocking call - best used in combination with + condvars, for eventfds we don't yield the cpu */ SVM_Q_NOWAIT, /**< non-blocking call - works with both condvar and eventfd signaling */ SVM_Q_TIMEDWAIT, /**< blocking call, returns on signal or time-out - - must be used only in combination with condvars */ + best used in combination with condvars, with + eventfds we don't yield the cpu */ } svm_q_conditional_wait_t; /** -- cgit 1.2.3-korg