Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'timeheap'
[ashd.git]
/
lib
/
mtio-kqueue.c
diff --git
a/lib/mtio-kqueue.c
b/lib/mtio-kqueue.c
index
e317153
..
0ae9ccf
100644
(file)
--- a/
lib/mtio-kqueue.c
+++ b/
lib/mtio-kqueue.c
@@
-262,6
+262,8
@@
int ioloop(void)
}
}
now = time(NULL);
}
}
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)) {
for(bl = blockers; bl; bl = nbl) {
nbl = bl->n;
if((bl->to != 0) && (bl->to <= now)) {