aboutsummaryrefslogtreecommitdiffstats
path: root/src/svm/queue.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/svm/queue.h')
-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;
/**