Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Simple thread example
Re: Simple thread example [message #29675 is a reply to message #29674] Sun, 07 November 2010 07:02 Go to previous message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
This seems to shutdown OK.

    void Work(){  // this is the worker thread
        ...
	while(!in.IsEof()){
            if(Thread::IsShutdownThreads()){
	        in.Close();
	        break;
	    }
            ....


A few things still need to be done.

Thanks for the help.

Neil
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Upp (Help) documentation
Next Topic: Few questions
Goto Forum:
  


Current Time: Sun Aug 24 08:24:56 CEST 2025

Total time taken to generate the page: 0.05405 seconds