[vlc-devel] Re: vlc: svn commit r19326 (courmisch)

Rémi Denis-Courmont rem at videolan.org
Thu Mar 15 18:36:04 CET 2007


Le mercredi 14 mars 2007 18:10, Subversion daemon a écrit :
> r19326 | courmisch | 2007-03-14 17:10:14 +0100 (Wed, 14 Mar 2007) | 2
> lines Changed paths:
>    M /trunk/src/vlc.c
>
> Code simplification

That would break the MacOS "force exit" thingy. Though sending a signal 
to the signal handling threads so that it would then send a SIGABRT 
looks very convoluted to me. If you want to force exit, call exit(), or 
otherwise _exit(), or otherwise abort(), or even raise(SIGKILL). That's 
more straight-forward. And if the signal comes from outside, don't put 
it in the list of handled signals in the first place. Making VLC crash 
itself when the user press Ctrl+C was really wrong.

-- 
Rémi Denis-Courmont
http://www.remlab.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070315/d7313098/attachment.sig>


More information about the vlc-devel mailing list