about summary refs log tree commit homepage
path: root/activeq.h
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2012-12-09 00:00:37 +0000
committerEric Wong <normalperson@yhbt.net>2012-12-09 00:00:37 +0000
commitb6781c62cc5022723ec65d9aaee50e08e843b3b8 (patch)
tree9eea941ce4c9c014817bf1f790cd5baf63d81588 /activeq.h
parentc980baa7c2905fd7fb3075435bddf46512794cea (diff)
downloadcmogstored-b6781c62cc5022723ec65d9aaee50e08e843b3b8.tar.gz
We do not need to track queue state any longer since accept
threads always inject directly into the epoll/kqueue watcher
nowadays.
Diffstat (limited to 'activeq.h')
-rw-r--r--activeq.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/activeq.h b/activeq.h
index 0262ba2..80f66a3 100644
--- a/activeq.h
+++ b/activeq.h
@@ -3,6 +3,11 @@
  * License: GPLv3 or later (see COPYING for details)
  */
 
+static inline void mog_activeq_add(struct mog_queue *q, struct mog_fd *mfd)
+{
+        mog_idleq_add(q, mfd, MOG_QEV_RW);
+}
+
 static inline void mog_activeq_push(struct mog_queue *q, struct mog_fd *mfd)
 {
         mog_idleq_push(q, mfd, MOG_QEV_RW);