[PD-dev] quitting pd
t.grill at gmx.net
Thu Jul 10 09:24:34 CEST 2003
i use the sys_quit flag now in my experimental pd version and it terminates
fine. For me, that seems to be the cleanest solution.
> Let me try switching to exit() and see what breaks...
> On Wed, Jul 02, 2003 at 07:42:22PM +0200, Thomas Grill wrote:
> > Hi Miller, hi all,
> > i noticed that there is a sys_quit flag in m_schedule.c that, when set,
> > causes PD to exit.
> > Is there any reason that _exit() is used (in sys_bail) instead of this
> > which would be much cleaner and the better choice for applications which
> > just load pd as a shared library and still have the control when PD has
> > terminated (e.g. for restarting PD again).
> > I tried and naturally there is a short delay and an "audio stuck"
> > printout, but this is purely cosmetical and can be suppressed as well.
> > If you find _exit to be the better choice one could still add a
> > function which sets the sys_quit flag.
> > best greetings,
> > Thomas
> > _______________________________________________
> > PD-dev mailing list
> > PD-dev at iem.at
> > http://iem.at/cgi-bin/mailman/listinfo/pd-dev
More information about the Pd-dev