thread pool
-
hai, i want to create a thread pool which is having atleast 10 threads, Normally we are creating threads using Createthread()API, But how to create pool..and all...? is any body knows reply me... Thanks. Mani
Born to win...!
-
hai, i want to create a thread pool which is having atleast 10 threads, Normally we are creating threads using Createthread()API, But how to create pool..and all...? is any body knows reply me... Thanks. Mani
Born to win...!
You could consider using Win32's thread pooling[^] functions.
Steve
-
hai, i want to create a thread pool which is having atleast 10 threads, Normally we are creating threads using Createthread()API, But how to create pool..and all...? is any body knows reply me... Thanks. Mani
Born to win...!
See QueueUserWorkItem[^].
-- gleat http://blogorama.nerdworks.in[^] --
-
You could consider using Win32's thread pooling[^] functions.
Steve
hai.. thanks for reply, one doubt....is IOCP method is like a thread pool method...or...what? if i am using an IOCP method any thread pool will get create..? or...?how it is..? could u pls tell me short and sweet...
Born to win...!
-
hai.. thanks for reply, one doubt....is IOCP method is like a thread pool method...or...what? if i am using an IOCP method any thread pool will get create..? or...?how it is..? could u pls tell me short and sweet...
Born to win...!
D.Mani wrote:
if i am using an IOCP method any thread pool will get create..?
With IOCP, you are responsible for creating a pool of threads. Any thread waiting on GetQueuedCompletionStatus() is part of the IOCP's "thread pool". Mark
Mark Salsbery Microsoft MVP - Visual C++ :java: