| 99 | Task(const Task&) = delete; |
| 100 | Task& operator=(const Task&) = delete; |
| 101 | ~Task() { if (handle) handle.destroy(); } |
| 102 | |
| 103 | // "User API" for the test code, allows starting the task and retrieving the result or exception |
| 104 | void resume() { if (handle && !handle.done()) handle.resume(); } |
nothing calls this directly
no outgoing calls
no test coverage detected