[PD] [devel] why _exit?
Miller Puckette
mpuckett at man104-1.ucsd.edu
Tue Sep 25 05:40:30 CEST 2001
Hi Krzysztof,
It's _exit() because exit() appears to close all files before bailing,
and close() on some audio and/or MIDI devices in Linux has hung up pd.
I don't remember which devices can't close() but it should be considered
a bug in the driver. So in principle, if that's working correctly now,
I could use exit(), but I don't know how to check this...!
cheers
Miller
On Fri, Sep 21, 2001 at 08:45:53PM +0200, Krzysztof Czaja wrote:
> hi,
>
> I wonder, what could be the reason of using _exit() call instead
> of exit() to terminate Pd in s_inter.c/sys_bail().
>
> I do not think it is due to a fear of any malicious exit-hacks
> planted by developers of externals. Anyway, it would be fine to
> ensure flushing of streams etc.
>
> Krzysztof
More information about the Pd-list
mailing list