X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=lib%2Fmtio-kqueue.c;fp=lib%2Fmtio-kqueue.c;h=0ae9ccffc9269e1feaa72f632683b73d991c5766;hp=e317153ffcaf3acaf0bba6ca2cb53ce75b3cfdd2;hb=37c1ac8da3808b3a806c4201791bb7c7f8349d15;hpb=4b70e201af5bcc4926ab9b877592ba210b32ccdc diff --git a/lib/mtio-kqueue.c b/lib/mtio-kqueue.c index e317153..0ae9ccf 100644 --- a/lib/mtio-kqueue.c +++ b/lib/mtio-kqueue.c @@ -262,6 +262,8 @@ int ioloop(void) } } now = time(NULL); + /* XXX: This is inefficient and buggy, and should have the + * heap structure from mtio-epoll ported. */ for(bl = blockers; bl; bl = nbl) { nbl = bl->n; if((bl->to != 0) && (bl->to <= now)) {