mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 11:42:28 +00:00 
			
		
		
		
	harness internalization and API for #1776
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									fed977b492
								
							
						
					
					
						commit
						f306f75e36
					
				
					 5 changed files with 16 additions and 12 deletions
				
			
		|  | @ -65,12 +65,14 @@ public: | |||
| 
 | ||||
| class scoped_suspend_rlimit { | ||||
|     reslimit & m_limit; | ||||
|     bool       m_suspend; | ||||
| public: | ||||
|     scoped_suspend_rlimit(reslimit& r): m_limit(r) { | ||||
|         m_suspend = r.m_suspend; | ||||
|         r.m_suspend = true; | ||||
|     } | ||||
|     ~scoped_suspend_rlimit() { | ||||
|         m_limit.m_suspend = false; | ||||
|         m_limit.m_suspend = m_suspend; | ||||
|     } | ||||
| }; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue