mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-29 11:18:56 -05:00
glScope: set all try locks to zero timeout
This commit is contained in:
parent
c1511d255e
commit
635a1bd34b
@ -103,7 +103,7 @@ void GLScope::newTraces(std::vector<float *>* traces)
|
||||
{
|
||||
if (traces->size() > 0)
|
||||
{
|
||||
if (!m_mutex.tryLock(2)) {
|
||||
if (!m_mutex.tryLock(0)) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -119,7 +119,7 @@ void GLScope::newTraces(std::vector<float *>* traces, int traceIndex)
|
||||
{
|
||||
if (traces->size() > 0)
|
||||
{
|
||||
if(!m_mutex.tryLock(2)) {
|
||||
if(!m_mutex.tryLock(0)) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -197,7 +197,7 @@ void GLScope::resizeGL(int width, int height)
|
||||
|
||||
void GLScope::paintGL()
|
||||
{
|
||||
if (!m_mutex.tryLock(2)) {
|
||||
if (!m_mutex.tryLock(0)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user