Block until the latest recorded submission has completed; returns at once if none.
218{
219 const uint64_t packed =
m_last_use.load(std::memory_order_acquire);
220 if (packed == 0) {
221 return;
222 }
223
226
227 if (buffer_service && buffer_service->await_point) {
228 buffer_service->await_point(
229 static_cast<uint32_t>(packed >> 62), packed & ((uint64_t { 1 } << 62) - 1));
230 }
231}
std::atomic< uint64_t > m_last_use
Interface * get_service()
Query for a backend service.
static BackendRegistry & instance()
Get the global registry instance.