[wxpython-users] BitmapFromBuffer deadlock
Christopher Barker
Chris.Barker at noaa.gov
Tue Sep 9 22:49:22 PDT 2008
Conrado PLG wrote:
> Does anyone have any idea on what's going on? Is it safe to call
> BitmapFromBuffer from non GUI threads?
apparently not. IN general, wx.Bitmap manipulation is considered GUI,
and thus not thread safe -- very little in wx is considered thread safe.
Could you do the actual call in the main thread , triggered by a
wx.CallAfter or something?
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
More information about the wxpython-users
mailing list