| 59 | } |
| 60 | |
| 61 | void MemoryReclaimer::leaveArbitration() noexcept { |
| 62 | DriverThreadContext* driverThreadCtx = driverThreadContext(); |
| 63 | if (FOLLY_UNLIKELY(driverThreadCtx == nullptr)) { |
| 64 | // Skips the driver suspension handling if this memory arbitration |
| 65 | // request is not issued from a driver thread. |
| 66 | return; |
| 67 | } |
| 68 | Driver* const driver = driverThreadCtx->driverCtx()->driver; |
| 69 | driver->task()->leaveSuspended(driver->state()); |
| 70 | } |
| 71 | |
| 72 | void MemoryReclaimer::abort( |
| 73 | memory::MemoryPool* pool, |
nothing calls this directly
no test coverage detected