gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnumed-devel] re: thread safe user events


From: syan tan
Subject: [Gnumed-devel] re: thread safe user events
Date: Sun, 01 Feb 2004 20:54:22 +0800


This was a 1999 suggestion, so the queue idea is old.

http://lists.wxwindows.org/archive/wxPython-users/msg03535.html

I gather postevent() or something like that is thread-safe in
wxWindows, so it might be a way of actively putting dispatcher events
on the gui thread. (then the dispatcher.send() can be called by any thread).
but it then makes the dispatcher dependent on wxWindows.postEvent, unless
a wrapper interface is used.
On the other hand, does wxWindows make all methods threadsafe .e.g. by
actually posting events for most methods ?


                                                                      





reply via email to

[Prev in Thread] Current Thread [Next in Thread]