mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-25 08:00:22 +00:00
Resolves the develop rename of cspell.config.yaml and the JobQueue.h conflicts, and aligns the new coroutine primitives with develop naming (CreateT, mutex_/mutexRun_, JtClient, forceMultiThread, beast::unit_test::Suite). Also addresses two review findings: - postCoroTask now holds a jobCounter_ reservation for the whole function. JobQueue::stop() joins jobCounter_ before asserting nSuspend_ == 0, so the reservation closes the window between the ++nSuspend_ and the balancing post()/expectEarlyExit(), and doubles as the shutdown check. - YieldPostAwaiter::await_suspend returns a coroutine_handle<> (symmetric transfer) instead of resuming inline. This keeps a yield loop against a stopping JobQueue from growing the stack without bound and avoids touching a frame that resume() may have already destroyed.