View Single Post
  #1 (permalink)  
Old July 13th, 2015, 08:39 AM
jpscarpa jpscarpa is offline
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2015
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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