mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-31 13:00:26 -04: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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user