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 » U++ Library support » U++ MT-multithreading and servers » How to close a Thread?
Re: How to close a Thread? [message #38032 is a reply to message #38024] Wed, 28 November 2012 20:54 Go to previous messageGo to previous message
NilaT is currently offline  NilaT
Messages: 70
Registered: November 2011
Location: Austria
Member
Hello,

and thanks for your reply.

When I call ShutdownThreads() within a class, will only the local threads be closed? (which are in the same scope)
Because I have more threads in my main program, which should NOT shutdown.

And even if all Threads get the Shutdown flag set, they won't stop if I do not check the shutdown flag with IsShutdownThreads, right?

What do you mean with "create my own flag"?
Well, I think I have to study the source of ShutdownThreads, maybe I understand then...

Thanks again for your hints!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Proposal: set HttpRequest::MaxContentSize(int64)
Next Topic: Witz and map variable
Goto Forum:
  


Current Time: Sun Aug 24 23:35:03 CEST 2025

Total time taken to generate the page: 0.05495 seconds