By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,806 Members | 1,457 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,806 IT Pros & Developers. It's quick & easy.

Mutithread monitoring

P: n/a
i am wriinting application where i invoke 5 threads from a main Thread
using singleton pattern.My problem is how can i monitor all these
invoked threads .
I want to check how much time each thread is taking , and if the time
exceed threshold limit i want to kill that thread .

Apr 10 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
pr********@gmail.com wrote:
i am wriinting application where i invoke 5 threads from a main Thread
using singleton pattern.My problem is how can i monitor all these
invoked threads .
I want to check how much time each thread is taking , and if the time
exceed threshold limit i want to kill that thread .


You cannot "monitor all these invoked threads" in Standard C++ language.
You need to use OS-specific means. To learn which ones and how, please
post to the newsgroup that deals with your OS.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Apr 10 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.