Merge pull request #9198 from KonduitAI/qwr_fixSeg
fix segfault (threading: tryAcquire)
This commit is contained in:
		
						commit
						2ae9f58909
					
				| @ -151,7 +151,7 @@ namespace samediff { | ||||
| 
 | ||||
|     Ticket* ThreadPool::tryAcquire(int numThreads) { | ||||
|         //std::vector<BlockingQueue<CallableWithArguments*>*> queues;
 | ||||
| 
 | ||||
|         if(numThreads<=0) return nullptr; | ||||
|         Ticket *t = nullptr; | ||||
|         // we check for threads availability first
 | ||||
|         bool threaded = false; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user