mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-03 12:28:49 +08:00
commit
363d36972f
@ -215,6 +215,13 @@ static void fiber_io_loop(ACL_FIBER *self fiber_unused, void *ctx)
|
||||
} else if (ring_size(&ev->events) > 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// only sleep fiber alive ?
|
||||
timer = FIRST_FIBER(&__thread_fiber->ev_timer);
|
||||
if (timer) {
|
||||
continue;
|
||||
}
|
||||
|
||||
msg_info("%s(%d), tid=%lu: fdcount=0, waiter=%u, events=%d",
|
||||
__FUNCTION__, __LINE__, __pthread_self(),
|
||||
ev->waiter, ring_size(&ev->events));
|
||||
|
Loading…
Reference in New Issue
Block a user