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 #21427 is a reply to message #21425] Tue, 19 May 2009 19:06 Go to previous messageGo to previous message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

luzr wrote on Tue, 19 May 2009 18:45

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

In base my example what is the solution?
 
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 Jun 09 10:23:35 CEST 2025

Total time taken to generate the page: 0.06062 seconds