]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: Add run_coro utility
authorAdam C. Emerson <aemerson@redhat.com>
Fri, 18 Apr 2025 07:27:36 +0000 (03:27 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Thu, 7 Aug 2025 19:34:32 +0000 (15:34 -0400)
commit1197a6df3d681b01cfe13ac14d03336eff987642
tree1c3ba105758d2cc12f1e63bb9fd786c49cde83fc
parentbdad7912f8d48972e09bf3a0c206c381bd9312a7
rgw: Add run_coro utility

A convenience function for turning coroutines that return values and
use exceptions, `error_code`, or similar into `int`-returning
functions that take references to out parameters.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit 9f17b631ded92da354d0b65f4749e199481a0f5a)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/common/async/concepts.h
src/common/async/librados_completion.h
src/common/error_code.h
src/rgw/async_utils.h [new file with mode: 0644]