Hello
If you want to look at more exemples of how to use my threadpool engine, just look at my parallel quicksort library or my other parallel libraries such parallel compression library and my other
parallel libraries, i have used my threadpool engine to implement all of them.
As you will notice, inside the new Exec() of the threadpool enginei have used the same method as with my implementation of the Distributed Reader-Writer Mutex 1.04 and i am using a variable number of mrews to lower the contention more in my implementation of Distributed Reader-Writer Mutex 1.04
based on the Dmitry Vyukov C++ Distributed Reader-Writer Mutex,
and as i said i am using mutiple lockfree FIFO queues inside my threadpool engine, so that there is less contention and using work-stealing also, so after i have added addedthe exec()
method , this threadpool engine hasl become scalable and this threadpool engine can also
be used as a scalable queue(not a strict FIFO queue, but almost, and it will
be also useful).
This threadpool engine is useful and that is what's important.
Thank you,
Amine Moulay Ramdane.