Click to See Complete Forum and Search --> : Threading troubling me!!


pranay
January 4th, 2005, 06:40 AM
:cry: I have to implement multithreading….

In which there will be a pool of threds and one thred will pick the control and excute and after completion return to pool….

But m not able to do much with threds…trying frm so many days….

Andreas Masur
January 4th, 2005, 07:07 AM
Windows Thread Pooling (http://www.codeguru.com/Cpp/W-P/system/threading/article.php/c7073/)...

marten_range
January 4th, 2005, 07:27 AM
Also, it might interest you to take a look at:

RegisterWaitForSingleObject

But RegisterWaitForSingleObject is only available on Win2000 and up.

Hope this helps

kuphryn
January 9th, 2005, 11:32 PM
Do you want to develop your own threadpool or do you want to implement thread using Win32 API? One solution for a threadpool is QueueUserWorkItem().

Kuphryn