mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	to fix that timeout of 0 has different interpretations across platforms
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									cbf470422e
								
							
						
					
					
						commit
						c6683fd6fa
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -129,7 +129,7 @@ struct scoped_timer::imp {
 | 
			
		|||
                              WT_EXECUTEINTIMERTHREAD);	
 | 
			
		||||
#elif defined(__APPLE__) && defined(__MACH__)
 | 
			
		||||
        // Mac OS X
 | 
			
		||||
        m_interval = ms;
 | 
			
		||||
        m_interval = ms?ms:0xFFFFFFFF;
 | 
			
		||||
        if (pthread_attr_init(&m_attributes) != 0)
 | 
			
		||||
            throw default_exception("failed to initialize timer thread attributes");
 | 
			
		||||
        if (pthread_cond_init(&m_condition_var, NULL) != 0)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue