Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
4b70e20
bb07300
)
Merge branch 'timeheap'
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 31 Dec 2016 19:26:22 +0000
(20:26 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 31 Dec 2016 19:27:38 +0000
(20:27 +0100)
This should fix the mblock-related iteration bug in mtio-epoll.
1
2
lib/mtio-kqueue.c
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
lib/mtio-kqueue.c
index
e317153
,
e317153
..
0ae9ccf
---
1
/
lib/mtio-kqueue.c
---
2
/
lib/mtio-kqueue.c
+++ b/
lib/mtio-kqueue.c
@@@
-262,6
-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)) {