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++ Widgets - General questions or Mixed problems » ASSERT(IsMainThread());
Re: ASSERT(IsMainThread()); [message #21425 is a reply to message #21420] Tue, 19 May 2009 17:45 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
Well, I have fixed this, although I am not quite sure if there is any good use to call GuiSleep from non-main thread:

GuiSleep waits at most given time, but waiting stops if there are any input events (like MouseDown) to be processed. Anyway, processing messages is always performed by the main thread, so it is questionable why is GuiSleep good for non-mains.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Global shortcut (Keyboard event) handle
Next Topic: Where to add event function in theide
Goto Forum:
  


Current Time: Mon May 20 09:18:56 CEST 2024

Total time taken to generate the page: 0.00892 seconds