wxApp Yield() question
Volker Bartheld
dr_versaeg at freenet.de
Mon Jan 7 09:40:42 PST 2008
Hi!
> Out of curiosity, what is the more idiomatic way to handle this? I have
> a separate thread doing the actual work, but in order to update the
> GUI, I need to have the thread somehow send a message back to the main
> thread. Right now, it's a pipe and a select() in the main thread.
> Should I be using something like wxPostEvent instead, and is there a
> good document I could read about that?
http://www.wxwidgets.org/wiki/index.php/Inter-Thread_and_Inter-Process_communication
HTH,
Volker
--
mailto: V B A R T H E L D at G M X dot D E
More information about the wx-users
mailing list