]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/thread: s/Condition/seastar::readable_eventfd/
authorKefu Chai <kchai@redhat.com>
Thu, 13 Feb 2020 04:27:29 +0000 (12:27 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 13 Feb 2020 06:53:55 +0000 (14:53 +0800)
commit5f05a50bae8bb4889dba0d249ed5fc3a2fcdcfa5
tree96d7b9178c45eec459595e1991f6698bcead9ad2
parent71c0c491da9d754777d2503ca71de824bf6119b5
crimson/thread: s/Condition/seastar::readable_eventfd/

in the latest version of seastar, we are not able to construct a
`seastar::pollable_fd_state` directly, as its constructor is now
`protected`, and only the reactor is able to create an instance of
`seastar::pollable_fd_state` now.

and `seastar::readable_eventfd` offers all we need to get notified
by reactor in an alien world. so let's used it instead.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/thread/Condition.h [deleted file]
src/crimson/thread/ThreadPool.h