[Pkg-kde-extras] Bug#434418: new version

Bruce Duncan B.W.Duncan at sms.ed.ac.uk
Thu Aug 9 17:04:45 UTC 2007


On Thursday 09 August 2007 16:57:18 Joost Yervante Damad wrote:
> In my opinion the problem still persists. All you did is change it from
> awaking a lot to awaking a little less (2x a second). My preferred solution
> would only wake up when needed. Are you absolutely positive that blocking
> infinite makes the the application not stop on SIGTERM?
> I really doubt it.

I agree that the correct solution is to not have the program wake up on a 
timer at all.

Of course blocking forever prevents the program terminating, a quick test 
confirms this. Have you tried it? There is no reason to think that without 
some special handling the program will ever leave the while loop, even if it 
receives a signal. All the signal handler does is to set a flag. After it 
returns, control will simply pass back to whichever part of the dbus library 
is waiting for messages.

There are a number of solutions to this problem (longjmp, dbus message, 
ignoring cleanup, ...), but I don't have the time to investigate them at the 
moment. Sorry...

Bruce
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1384 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-kde-extras/attachments/20070809/179d75b3/attachment.bin 


More information about the pkg-kde-extras mailing list