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 » ASyncWork/CoWork Cancel() method leads to deadlock (when used with GuiLock)
Re: ASyncWork/CoWork Cancel() method leads to deadlock (when used with GuiLock) [message #50207 is a reply to message #50206] Mon, 27 August 2018 10:00 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
OK, fixed with GuiUnLock :

void AsyncTest::Stop()
{
	GuiUnLock __;
	for(auto& w : workers)
		w.Cancel();
}
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to use CoWork and Progress together?
Next Topic: Skylark session verification
Goto Forum:
  


Current Time: Sat Apr 27 16:16:07 CEST 2024

Total time taken to generate the page: 0.06060 seconds