]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph/async: `io_context_pool` constructor/start takes init function
authorAdam C. Emerson <aemerson@redhat.com>
Fri, 14 Apr 2023 19:43:36 +0000 (15:43 -0400)
committerAdam Emerson <aemerson@redhat.com>
Wed, 24 Jan 2024 20:51:46 +0000 (15:51 -0500)
commit82a40dc151cc4ec1576241b88f099abefc5b4b9a
tree260f21965c44046e5aa90e0523eb7ecb1eccc766
parentc7789f10fee63dac2103908941a375faa32acf5a
ceph/async: `io_context_pool` constructor/start takes init function

Add overloads of the constructor and `start` that take an init
function, for setting up the thread before dropping into
`io_context::run`.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/common/async/context_pool.h