mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 11:42:28 +00:00 
			
		
		
		
	pfor
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									9262908ebb
								
							
						
					
					
						commit
						59330b3855
					
				
					 5 changed files with 23 additions and 15 deletions
				
			
		|  | @ -19,6 +19,7 @@ Revision History: | |||
| #ifndef RLIMIT_H_ | ||||
| #define RLIMIT_H_ | ||||
| 
 | ||||
| #include <mutex> | ||||
| #include "util/vector.h" | ||||
| 
 | ||||
| class reslimit { | ||||
|  | @ -28,12 +29,14 @@ class reslimit { | |||
|     uint64_t        m_limit; | ||||
|     svector<uint64_t> m_limits; | ||||
|     ptr_vector<reslimit> m_children; | ||||
|     std::mutex        m_mux; | ||||
| 
 | ||||
|     void set_cancel(unsigned f); | ||||
|     friend class scoped_suspend_rlimit; | ||||
| 
 | ||||
| public: | ||||
|     reslimit(); | ||||
|     ~reslimit() {} | ||||
|     void push(unsigned delta_limit); | ||||
|     void pop(); | ||||
|     void push_child(reslimit* r); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue