22#include <flow/util/shared_ptr_alias_holder.hpp>
23#include <kj/async-io.h>
24#include <boost/weak_ptr.hpp>
47 private boost::noncopyable
Internal-use thread-local singleton-style access to a kj::AsyncIoContext which, for each given thread...
Ez_rpc_kj_io()
Private ctor that sets m_kj_io to its permanent value, kj::setupAsyncIo().
kj::AsyncIoContext m_kj_io
The thread-local event loop/context object.
static Ptr this_thread_obj()
Returns a handle to a *this which shall contain a live AsyncIoContext m_kj_io; it will continue to be...
static thread_local boost::weak_ptr< Ez_rpc_kj_io > s_this_thread_obj_observer
Weak-pointer observer to the last-retured in this thread (via this_thread_obj()) Ptr; or null.
Provides Flow-IPC's integration with Cap'n Proto's Remote Procedure Call (RPC) layer,...