I am writing an application when I need to read a value from a
TextCtrl object from the thread other than wx Event Loop thread. Can I use the
TextCtrl.GetValue() method safely in this case?
Making this question more general: Is calling any object method that only reads its value without changing state thread safe?
For changing state methods I use
CallAfter but it does not return value from executed callback.
If getting value is not thread safe so what a trick I should use to make it thread safe?
Thank you guys in advance for your help!