X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fsvm%2Fqueue.h;h=de79caa38f8f48a9dcd40e1d73b14d56206cbc9e;hb=1553197f9a1a3258b6954adeb9536bbe0191683d;hp=3e8031e897b84da4073cd769a839b940e72c60d0;hpb=f8b8586b699bae9e786726f2697c3e642d904c61;p=vpp.git 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; /**