Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 2012/5.0 > BOOK: Professional C# 5.0 and .NET 4.5.1
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional C# 5.0 and .NET 4.5.1
This is the forum to discuss the Wrox book Professional C# 5.0 and .NET 4.5.1 by Christian Nagel, Jay Glynn, Morgan Skinner; ISBN: 978-1-118-83303-2
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C# 5.0 and .NET 4.5.1 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old July 13th, 2015, 08:39 AM
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
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help!! on Checkbox click how to check from database whether clicked check match. damandeep BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 March 14th, 2011 08:39 AM
User idle Time jomet C# 2005 2 January 7th, 2009 07:35 AM
Track of another idle process in VB program simplyAns Pro VB 6 1 December 15th, 2006 01:41 PM
Threads Help hybrid_dev C# 0 July 31st, 2003 10:23 AM
Problems with threads. Threads disappearing? DriesNeyrinck VB.NET 0 June 10th, 2003 08:26 AM



All times are GMT -4. The time now is 12:12 AM.


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