Pigweed
C/C++ API Reference
|
Public Member Functions | |
Allocator & | allocator () |
Returns the system pw::Allocator instance. | |
async2::Dispatcher & | dispatcher () |
Returns the system pw::async2::Dispatcher instance. | |
rpc::Server & | rpc_server () |
Returns the system pw::rpc::Server instance. | |
bool | RunOnce (Function< void()> &&function) |
Friends | |
AsyncCore & | pw::System () |
void | pw::SystemStart (channel::ByteReaderWriter &) |
The global pw::System()
instance. This object is safe to access, whether pw::SystemStart
has been called or not.
bool pw::system::AsyncCore::RunOnce | ( | Function< void()> && | function | ) |
Runs a function once on a separate thread. If the function blocks, it may prevent other functions from running.