]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/common/interruptible_future: remove enable/disable_interruption
authorSamuel Just <sjust@redhat.com>
Thu, 17 Jun 2021 21:06:41 +0000 (14:06 -0700)
committerSamuel Just <sjust@redhat.com>
Wed, 23 Jun 2021 18:37:36 +0000 (11:37 -0700)
commita2a5ffbbdba47a0fe9534a9125cf010ff808444b
tree31ce93b5cbe25f9a6a93a33b8cde7c38fbd02840
parent19844051ed491cbd80a36c6c046960f402022a78
crimson/common/interruptible_future: remove enable/disable_interruption

with_interruption_cond needs to check the condition on the way in.
call_with_interruption_impl already has the required machinery, so
let's just use it and dispense with the other helpers.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/common/interruptible_future.h