Do simple booleans really need protecting (multithreading)
Volker Bartheld
dr_versaeg at freenet.de
Tue Jan 15 05:50:02 PST 2008
Hi!
On Tue, 15 Jan 2008 06:13:02 -0500, Brian Vanderburg II wrote:
> This is a question about multithreading. I'm using wxThread and have a
> data structure with some information, including two bools 'terminate',
> and 'finished' which are both initially false.
Also have a look at
http://www.wxwidgets.org/wiki/index.php/Inter-Thread_and_Inter-Process_communication
- there might be a plug&play example for you using a threadsafe queue that
deals with the communication.
HTH,
V.
--
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