| 7 | #include "systestbase.h" |
| 8 | |
| 9 | void DetectShutdownThread(boost::thread_group *threadGroup) { |
| 10 | bool fShutdown = ShutdownRequested(); |
| 11 | // Tell the main threads to shutdown. |
| 12 | while (!fShutdown) { |
| 13 | MilliSleep(200); |
| 14 | fShutdown = ShutdownRequested(); |
| 15 | } |
| 16 | Interrupt(); |
| 17 | |
| 18 | if (threadGroup) { |
| 19 | threadGroup->interrupt_all(); |
| 20 | threadGroup->join_all(); |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | bool PrintTestNotSetPara() { |
| 25 | bool flag = false; |
nothing calls this directly
no test coverage detected