diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-02-11 01:25:16 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-02-11 01:25:16 +0000 |
commit | 384c801cced851e782cbe94b548a31b1deaa70f3 (patch) | |
tree | af2ddc0538c54024152ef0cf6f7905f4396bb8bb | |
parent | ba24aa82b1c9306e0053089296741f028fafa148 (diff) | |
download | cmogstored-384c801cced851e782cbe94b548a31b1deaa70f3.tar.gz |
kqueue: update NOTIFYRD -> SELFWAKE
This was missed in the earlier changes to allow eventfd usage under Linux instead of using an notification pipe.
-rw-r--r-- | queue_kqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/queue_kqueue.c b/queue_kqueue.c index 5e6f311..92d5bac 100644 --- a/queue_kqueue.c +++ b/queue_kqueue.c @@ -130,7 +130,7 @@ void mog_idleq_push(struct mog_queue *q, struct mog_fd *mfd, enum mog_qev ev) if (ev == MOG_QEV_RW) { switch (mfd->fd_type) { case MOG_FD_TYPE_IOSTAT: - case MOG_FD_TYPE_NOTIFYRD: + case MOG_FD_TYPE_SELFWAKE: ev = MOG_QEV_RD; break; case MOG_FD_TYPE_UNUSED: |