diff options
author | Eric Wong <normalperson@yhbt.net> | 2012-12-09 00:00:37 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2012-12-09 00:00:37 +0000 |
commit | b6781c62cc5022723ec65d9aaee50e08e843b3b8 (patch) | |
tree | 9eea941ce4c9c014817bf1f790cd5baf63d81588 /activeq.h | |
parent | c980baa7c2905fd7fb3075435bddf46512794cea (diff) | |
download | cmogstored-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.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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); |