| 104 | } |
| 105 | |
| 106 | static void check( const Canceller *canceller ) |
| 107 | { |
| 108 | if( canceller && canceller->cancelled() ) |
| 109 | { |
| 110 | throw Cancelled(); |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | /// Returns the time passed since `cancel()` was first called, or `0` if |
| 115 | /// it has not been called yet. |
no test coverage detected