multithreading - Threading Model -


Is there a threading model that does something like the following:

  thread = Next Available Available (): Thread.doWork (Data)  

In this way, when a thread ends, then this next access is available (to thread) back to this thread which just ends This model has made uneven data fragmentation much easier between threads, because you can pass the next part of the data to the next available thread And can produce near-optimal data delivery.

I am particularly interested in using it in C ++, but am I happy with anything present in any language here?

Edit: Thread Pool looks like what I was thinking. So, any recommendations for C ++ implementation?

Looks like you're looking for thread pool

Edit: There is a C ++ example.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -