Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
svm mq: add unit test
[vpp.git]
/
src
/
svm
/
message_queue.h
diff --git
a/src/svm/message_queue.h
b/src/svm/message_queue.h
index
28bf14e
..
c57b51a
100644
(file)
--- a/
src/svm/message_queue.h
+++ b/
src/svm/message_queue.h
@@
-314,9
+314,6
@@
svm_msg_q_lock (svm_msg_q_t * mq)
static inline void
svm_msg_q_unlock (svm_msg_q_t * mq)
{
- /* The other side of the connection is not polling */
- if (mq->q->cursize < (mq->q->maxsize / 8))
- (void) pthread_cond_broadcast (&mq->q->condvar);
pthread_mutex_unlock (&mq->q->mutex);
}