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   |
|
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?
|
|
|
Goto Forum:
Current Time: Mon Jun 09 10:23:35 CEST 2025
Total time taken to generate the page: 0.06062 seconds
|