| 755 | } |
| 756 | |
| 757 | DWORD PollingThread::pollFunction(LPVOID param) |
| 758 | { |
| 759 | auto workerThread = static_cast<PollingThread *>(param); |
| 760 | if (workerThread) |
| 761 | { |
| 762 | while (workerThread->_continue && workerThread->_loopContent(workerThread->_funcParam)) |
| 763 | { |
| 764 | std::this_thread::sleep_for( |
| 765 | std::chrono::milliseconds{ workerThread->_sleepTimeMs }); |
| 766 | } |
| 767 | } |
| 768 | |
| 769 | return 0; |
| 770 | } |
nothing calls this directly
no outgoing calls
no test coverage detected