Thread Pool Theorizing 
	 
	
		| Author | 
		Message | 
	 
		 
		copthesaint
 
  
 
    
		 | 
		
		
			
				  Posted: Tue Jun 08, 2021 12:05 am    Post subject: Thread Pool Theorizing  | 
	
				
				 | 
			 
			 
				
  | 
			 
			
				I'm trying to come up with a thread pool and this is the general idea:
 
 
 
 
 
The permissions will just be references of whatever variables past in some sort of list of void pointers. 
 
I'm not sure if I am going about this in the right way, or the program would be faster just using mutex. but the idea is: As a job is being completed, it can free any permissions it no longer needs and continue executing. 
 
 I'm using this as a nice little project to get back into to programming since I haven't touched C since 2014...? I'll take any suggestions   
 
 
https://lucid.app/lucidchart/11f22496-ecdc-40fa-b784-6fe1f8a51dbb/edit?invitationId=inv_ccbfec04-e796-4b88-8e56-12a388c0cca5 | 
			 
			
				 | 
			 
		  | 
	 
	 
		 | 
		
		 | 
	 
	  
		  | 
	 
		 
		Sponsor Sponsor 
		 
  
		 | 
		
 | 
	 
	 
		  | 
	 
				 
		 | 
	 
 
	
	
	 
	
	 |