| 557 | } |
| 558 | |
| 559 | void BfCodeGenThread::Shutdown() |
| 560 | { |
| 561 | mShuttingDown = true; |
| 562 | if (mRunning) |
| 563 | mCodeGen->mRequestEvent.Set(true); |
| 564 | |
| 565 | while (mRunning) |
| 566 | { |
| 567 | mCodeGen->mDoneEvent.WaitFor(20); |
| 568 | } |
| 569 | } |
| 570 | |
| 571 | static void BFP_CALLTYPE RunLoopThunk(void* codeGenThreadP) |
| 572 | { |
no test coverage detected