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 » U++ community news and announcements » AsyncWork
Re: AsyncWork [message #48870 is a reply to message #48867] Tue, 17 October 2017 08:55 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3361
Registered: August 2008
Senior Veteran
Thank you very much Smile

In addition GuiLock is easier and safer than sharing variables.

It is just a matter of using it wisely.
For example, this would be forbidden:

EditInt edit;
int count = 0;
while(true) {
	count++;
	GuiLock __;
	edit <<= count;
}

In addition if a GUI action (pushing a button) launches a Thread, it would be necessary to disable the button to avoid pushing it again while Thread is running.


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ide: Repository sync and repo file version history refactored
Next Topic: plugin/lz4
Goto Forum:
  


Current Time: Fri May 10 15:22:38 CEST 2024

Total time taken to generate the page: 0.03931 seconds