Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to manage large subrutines in Visual C++

Status
Not open for further replies.

leinad49

Programmer
Aug 29, 2002
11
ES
Hello!!
I'd like to know how can I do to run a waste time subrutine doing work the current window the user is working with. I mean to run framework calculations (in an alone and independent subrutine) while the user works with the application without affect the user's window response.

Any help will be very apreciated!!

Thanks!!!

 
It is best to create a worker thread running in the background. If it has lower priority than the main thread, it will not affect performance of the main thread.
Marcel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top