]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/async: use asio::associator for Forwarding/CompletionHandler
authorCasey Bodley <cbodley@redhat.com>
Mon, 14 Oct 2024 18:44:19 +0000 (14:44 -0400)
committerCasey Bodley <cbodley@redhat.com>
Tue, 15 Oct 2024 01:59:15 +0000 (21:59 -0400)
commitc6415e14eb274adcc54ca2a117ab06fc71cc6057
tree87b1f06712c817ac38915edfe75fc5479f2218f6
parentabaca8110ad40efa2007d365e53f109791b421f1
common/async: use asio::associator for Forwarding/CompletionHandler

asio keeps adding new types of associations. since this was written,
get_associated_cancellation_slot() and
get_associated_immediate_executor() were added. we can now specialize
the asio::associator<> template to forward all of them

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/common/async/bind_handler.h
src/common/async/forward_handler.h