PubSub and working thread

Nicolas Pinault <[email protected]> Wed, 3 Apr 2019 22:27:53 +0200
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
Hi,

I have an application where I need to communicate between a working=20
thread and wx frames.
Threads can't directly call UI API so I usually do this with wx events.=20
The working thread sends messages to a frames using wx.Event.
It works=C2=A0 but this not as simple as with PubSub.
My concern is about the thread safety of PubSub. Is it safe to publish=20
from a working thread and subscribe from wx frames ?

Regards,
Nicolas

--=20
You received this message because you are subscribed to the Google Groups "=
wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to [email protected].
For more options, visit https://groups.google.com/d/optout.