Experiment: always sleep for 10ms every time through the TX/RX loop.
parent
591ddeb5ce
commit
6019c9a522
|
@ -492,7 +492,7 @@ void* TxRxThread::Entry()
|
||||||
if (m_tx) txProcessing_();
|
if (m_tx) txProcessing_();
|
||||||
else rxProcessing_();
|
else rxProcessing_();
|
||||||
|
|
||||||
std::this_thread::sleep_until(currentTime + 10ms);
|
std::this_thread::sleep_for(10ms);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Force pipeline to delete itself when we're done with the thread.
|
// Force pipeline to delete itself when we're done with the thread.
|
||||||
|
|
Loading…
Reference in New Issue