Main docs: https://pigweed.dev/pw_system.
|
namespace | pw::system |
| Opinionated system framework.
|
|
◆ RunOnce()
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.
- Returns
- true if the function was enqueued to run, false if the function queue is full
◆ System()
Returns a reference to the global pw_system instance. pw::System() provides several features for applications: a memory allocator, an async dispatcher, and a RPC server.
◆ SystemStart()
Starts running pw_system:async
with the provided IO channel. This function never returns.