summaryrefslogtreecommitdiffstats
path: root/src/svm
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2018-08-12 23:50:53 -0700
committerDamjan Marion <dmarion@me.com>2018-08-24 19:05:25 +0000
commit1553197f9a1a3258b6954adeb9536bbe0191683d (patch)
tree91f26e2e23da3971741238194474d5e5ab0ae792 /src/svm
parentf8b8586b699bae9e786726f2697c3e642d904c61 (diff)
session: add support for multiple app workers
Refactor session layer to support multiple workers per application. Change-Id: Ie67354688d396449d14bbbb8c56050206e307cd8 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/svm')
-rw-r--r--src/svm/queue.h7
1 files changed, 4 insertions, 3 deletions
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;
/**