Re: [Jack-Devel] Shared memory and static variables

PrevNext  Index
DateThu, 26 Sep 2013 18:24:01 +0200
From Kristian Amlie <[hidden] at amlie dot name>
ToPaul Davis <[hidden] at linuxaudiosystems dot com>
CcNedko Arnaudov <[hidden] at arnaudov dot name>, JACK <[hidden] at lists dot jackaudio dot org>
In-Reply-ToPaul Davis Re: [Jack-Devel] Shared memory and static variables
Follow-UpKristian Amlie Re: [Jack-Devel] Shared memory and static variables
Well, I haven't heard any loud objections, so I guess I'll give it a
shot. I'll keep you posted on the progress.

-- 
Kristian

On 18/09/13 15:37, Paul Davis wrote:
> he wants two servers inside the same process.
> 
> this is not part of the design assumptions.
> 
> 
> On Wed, Sep 18, 2013 at 8:59 AM, Nedko Arnaudov <[hidden]
> <mailto:[hidden]>> wrote:
> 
>     Kristian Amlie <[hidden] <mailto:[hidden]>>
>     writes:
> 
>     > Here is the problem: You cannot launch more than one instance of the
>     > plugin. I *think* that the reason is that the shared memory structure
>     > that Jack uses is pointed to by some global variables (registry_id and
>     > registry_info), and this means that the second server will mess up the
>     > pointers of the first server. It was probably never designed to run more
>     > than one server in one process.
> 
>     It is designed to be possible. There should be "server name"
>     parameter. It allows to have more than one JACK server running.
> 
>     I think the above is valid for both jack1 and jack2 but you better
>     verify my yourself :)
> 
>     HTH
> 
>     --
>     Nedko Arnaudov <GnuPG KeyID: 5D1B58ED>
> 
>     
>     Jack-Devel mailing list
>     [hidden] <mailto:[hidden]>
>     http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
> 
> 
PrevNext  Index

1380212658.25573_0.ltw:2, <52445FA1.2030805 at amlie dot name>