Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Thread Pool Theorizing
Index -> Programming, C++ -> C++ Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
copthesaint




PostPosted: 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:

Posted Image, might have been reduced in size. Click Image to view fullscreen.

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 Smile

https://lucid.app/lucidchart/11f22496-ecdc-40fa-b784-6fe1f8a51dbb/edit?invitationId=inv_ccbfec04-e796-4b88-8e56-12a388c0cca5
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, C++ -> C++ Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 1 Posts ]
Jump to:   


Style:  
Search: