mirror of
				https://git.proxmox.com/git/libgit2
				synced 2025-11-04 14:08:17 +00:00 
			
		
		
		
	This is a big refactoring of the attribute file cache to be a bit simpler which in turn makes it easier to enforce a lock around any updates to the cache so that it can be used in a threaded env. Tons of changes to the attributes and ignores code.
		
			
				
	
	
		
			9 lines
		
	
	
		
			157 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			157 B
		
	
	
	
		
			C
		
	
	
	
	
	
#include "thread-utils.h"
 | 
						|
 | 
						|
void run_in_parallel(
 | 
						|
	int repeats,
 | 
						|
	int threads,
 | 
						|
	void *(*func)(void *),
 | 
						|
	void (*before_test)(void),
 | 
						|
	void (*after_test)(void));
 |