MCPcopy Create free account
hub / github.com/JibbSmart/JoyShockMapper / pollFunction

Method pollFunction

JoyShockMapper/src/linux/InputHelpers.cpp:757–770  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

755}
756
757DWORD 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected