* Acquire a CpuBoundWork slot * * It is automatically released the next time data is written using Flush() (when doing IO, it's no longer * CPU-bound), or when the object is destroyed. * * @param yc Yield context that is used for waiting. * @param strand Strand the caller is running on, used for synchronization. */
| 292 | * @param strand Strand the caller is running on, used for synchronization. |
| 293 | */ |
| 294 | void StartCpuBoundWork(boost::asio::yield_context yc, boost::asio::io_context::strand& strand) |
| 295 | { |
| 296 | m_CpuBoundWork.emplace(yc, strand); |
| 297 | } |
| 298 | |
| 299 | private: |
| 300 | Serializer m_Serializer{*this}; |
no test coverage detected