summaryrefslogtreecommitdiff
path: root/ae_kqueue.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2009-11-28 17:06:28 +0100
committerantirez <antirez@gmail.com>2009-11-28 17:06:28 +0100
commit7a932b74cc22097655d6792f64cab66bb0fe1694 (patch)
tree65dd088822af7c27746c9371325a8d8f980d7754 /ae_kqueue.c
parent1751139117cc37f17051fdc55c0fe00c5da2043d (diff)
downloadredis-7a932b74cc22097655d6792f64cab66bb0fe1694.tar.gz
ifdefs added to use kevent on Free Open and Net BSD as well. INFO and ae.c modified in order to report the multiplexing API in use
Diffstat (limited to 'ae_kqueue.c')
-rw-r--r--ae_kqueue.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ae_kqueue.c b/ae_kqueue.c
index 6408e3222..04c3536ba 100644
--- a/ae_kqueue.c
+++ b/ae_kqueue.c
@@ -87,3 +87,7 @@ static int aeApiPoll(aeEventLoop *eventLoop, struct timeval *tvp) {
}
return numevents;
}
+
+static char *aeApiName(void) {
+ return "kqueue";
+}