| 75 | } |
| 76 | |
| 77 | void AbortShutdown() |
| 78 | { |
| 79 | if (fRequestShutdown) { |
| 80 | // Cancel existing shutdown by waiting for it, this will reset condition flags and remove |
| 81 | // the shutdown token from the pipe. |
| 82 | WaitForShutdown(); |
| 83 | } |
| 84 | fRequestShutdown = false; |
| 85 | } |
| 86 | |
| 87 | bool ShutdownRequested() |
| 88 | { |