| 42 | static bool fDaemon; |
| 43 | |
| 44 | void DetectShutdownThread() |
| 45 | { |
| 46 | bool fShutdown = ShutdownRequested(); |
| 47 | // Tell the main threads to shutdown. |
| 48 | while (!fShutdown) { |
| 49 | MilliSleep(200); |
| 50 | fShutdown = ShutdownRequested(); |
| 51 | } |
| 52 | Interrupt(); |
| 53 | } |
| 54 | |
| 55 | ////////////////////////////////////////////////////////////////////////////// |
| 56 | // |
no test coverage detected