]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
msg/async/Event: simplify EventCenter::process_events implementation
authorChangcheng Liu <changcheng.liu@aliyun.com>
Wed, 31 Jul 2019 08:54:26 +0000 (16:54 +0800)
committerChangcheng Liu <changcheng.liu@aliyun.com>
Fri, 23 Aug 2019 02:45:22 +0000 (10:45 +0800)
commit0b31f416fa05a8dfee95b9e29d518027fa568235
treebccea10db4388bea4ae35b3774ccefb23f76b8fd
parentc7f87c3ff0580810feaa929d3dbda3ac23db3c19
msg/async/Event: simplify EventCenter::process_events implementation

The original implementation makes it's hard to understand:
1) Whether timer event should be executed.
2) How long should epoll wait for timeout.

Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
src/msg/async/Event.cc