X-Git-Url: http://www.dolda2000.com/gitweb/?a=blobdiff_plain;f=lib%2Fmtio-kqueue.c;h=0ae9ccffc9269e1feaa72f632683b73d991c5766;hb=295f91786e8606bed03ca004157adbeb84565094;hp=e317153ffcaf3acaf0bba6ca2cb53ce75b3cfdd2;hpb=6d1caa155319702b5a36af8e5e2b94bf9f3b39f8;p=ashd.git 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)) {