p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/)
-   BOOK: Professional C# 5.0 and .NET 4.5.1 (http://p2p.wrox.com/book-professional-c-5-0-net-4-5-1-756/)
-   -   How to check for Threads being Idle? (http://p2p.wrox.com/book-professional-c-5-0-net-4-5-1/94705-how-check-threads-being-idle.html)

jpscarpa July 13th, 2015 09:39 AM

How to check for Threads being Idle?
 
I am trying to trigger some code, when an application has become idle.
Since it's a Multithreaded application, I would like to wait until all Threads are Idle (or is there a better way to do this)?

Since I do not have the Source Code of the application, I am wondering how I can "hook", to know when I can trigger my code.

I already have found the process Id, and thread id of all relevant threads.

Thanks in advance.

Juan


All times are GMT -4. The time now is 06:57 PM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.