U++ framework
Do not panic. Ask here before giving up.

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: 14291
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: Thu Sep 24 15:05:52 GMT+2 2026

Total time taken to generate the page: 0.00811 seconds