Re: [LAD] Feature requests: add JackSession support

From: Paul Davis <paul@email-addr-hidden>
Date: Sun Jul 03 2011 - 16:01:50 EEST

On Sun, Jul 3, 2011 at 8:51 AM, Robin Gareus <robin@email-addr-hidden> wrote:

> Every program (on un*x) can be "quit w/o save" without requiring changes
> to the program: just send it a `kill -9` :-))

    if (request.type == QuitWithoutSave) {
            kill (getpid(), SIGKILL);
    }

oops, you didn't reply to the session manager, which wants to know how
to restart you.

ok, so we leave it to the SM to kill you ... but using SIGKILL for
this is about as bad as LADISH using SIGUSR1 for its own purposes.
which is to say - it works, but its Not Unix :)

> Alas, jackd may or may not bark (xrun) if a program is killed without
> properly closing its jack connection; but that's acceptable in that case
> (closing the session anyway).

I think that the SM should tell JACK to stop calling process(), somehow.
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Sun Jul 3 16:15:03 2011

This archive was generated by hypermail 2.1.8 : Sun Jul 03 2011 - 16:15:03 EEST