ossp-pkg/pth/pth_event.c 1.55 -> 1.56
--- pth_event.c 2001/03/24 14:51:04 1.55
+++ pth_event.c 2001/11/30 12:37:29 1.56
@@ -413,8 +413,10 @@
ev = ev_ring;
occurred = 0;
do {
- occurred++;
- pth_debug2("pth_wait: occurred event 0x%lx", (unsigned long)ev);
+ if (ev->ev_occurred) {
+ pth_debug2("pth_wait: occurred event 0x%lx", (unsigned long)ev);
+ occurred++;
+ }
ev = ev->ev_next;
} while (ev != ev_ring);
|
|