Hi all,
I am trying to implement a thread-pool with maximum of 5 threads. It has not been implemented at present, I want to implement it so that I can use it in a project I am working on. Could anyone please give me some direction on how to implement this feature.
I tried to implement the thread-pool using m_waiting and m_workerIdle in scppool, but the thread seems to end no matter what I do. I commented all the kiil_thread functions, but still it doesn't seem to do any good. I think it is some exception that is causing this issue but I cant determine what the exception is.
How do I implement this? what am i missing, Please let me know.
Thanks
Cyril M Jose
Thread-pool implementation in DCMTK using scppool
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2052
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Re: Thread-pool implementation in DCMTK using scppool
Hi Cyril,
look at dcmnet/tests/tpool.cc which uses the SCP Pool class and therefore demonstrates its usage.
Best,
Michael
look at dcmnet/tests/tpool.cc which uses the SCP Pool class and therefore demonstrates its usage.
Best,
Michael
Who is online
Users browsing this forum: No registered users and 1 guest