python bindings & gmainloop
Sean Meiners
sean.meiners at linspireinc.com
Fri Sep 16 10:54:47 PDT 2005
I've got 0.35.2 currently. I'll update it and let you know what happens.
On Friday 16 September 2005 10:44 am, John (J5) Palmieri wrote:
> Oh, also, what version of d-bus are you using? Versions previous to 0.50
> could crash when using threads because of a problem with the way Pyrex
> handles the GIL.
>
> On Thu, 2005-09-15 at 15:01 -0700, Sean Meiners wrote:
> > Ok, so I finally figured out how to get gmainloop to play nice with other
> > threads, only to expose an even more interesting problem. When my test
> > script is run (attached) it causes a 'Fatal Python error:
> > PyThreadState_Get: no current thread' as soon as the gmainloop is
> > entered, but only if threading has been initialized and you actually
> > connect to a bus (system or session, it makes no difference). Now here's
> > the really interesting part: it all works fine if I undo your
> > EmptyMessage patch (diff attached).
--
Sean Meiners
sean.meiners at linspireinc.com
Perl - $Just @when->$you ${thought} s/yn/tax/ &couldn\'t %get $worse;
More information about the dbus
mailing list