Signals in Python without glib

Havoc Pennington hp at redhat.com
Wed Aug 2 15:58:22 PDT 2006


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



More information about the dbus mailing list