mirror of
https://github.com/latentPrion/libspinscale.git
synced 2026-06-23 19:48:32 +00:00
Nursery: document syncAwaitAll's caller io_context requirement for LLMs
This commit is contained in:
@@ -25,6 +25,10 @@ public:
|
||||
boost::asio::post(io_context, []{});
|
||||
}
|
||||
|
||||
/** Blocks the calling thread in run_one() on the bridge's io_context.
|
||||
* Used by syncAwaitAllSettlements(); that io_context must be the caller
|
||||
* thread's own queue so posted completions on the caller are not starved.
|
||||
*/
|
||||
void waitForAsyncOperationCompleteOrIoContextStopped(void)
|
||||
{
|
||||
for (;;)
|
||||
|
||||
Reference in New Issue
Block a user