Signals in Python without glib

John (J5) Palmieri johnp at redhat.com
Thu Aug 3 10:36:24 PDT 2006


Can I commit the locking patch?

On Wed, 2006-08-02 at 18:58 -0400, Havoc Pennington wrote:
> Justin Mazzola Paluska wrote:
> > 
> > Once this while loop starts up, I can no longer make blocking function
> > calls in another thread.  Instead, CPU usage shoots up to 100%.  I
> > attached to the process with gdb and it looks the mainloop thread is
> > blocked on poll and the request thread is taking up all of the
> > processor time.  When I step through the code using gdb, it looks like
> > the request thread is stuck in a loop:
> 
> This has no hope of working reliably without the pending call locking 
> patch I posted recently, so step 1 is be sure you have latest dbus.
> 
> Step 2 I think if you just step through the 100% cpu thread in gdb it 
> should be pretty obvious what happens...
> 
> Havoc

-- 
John (J5) Palmieri <johnp at redhat.com>



More information about the dbus mailing list