Re: [Jack-Devel] How does jackdmp set CPU affinity ?
Le 7 juil. 2011 à 23:20, karthik poduval a écrit :
> Thanks a lot for the prompt reply Stéphane.
>
> Please correct me if my understanding is incorrect.
>
> Let me refer to Figure 1 in http://www.grame.fr/Ressources/pub/Jackdmp-lac2005.pdf. Once client Input's out ports are filled, it signals both A and B by signalling their JackSynchro objects. A and B may run on different CPU's as the actual CPU assignment is managed by the underlying Linux scheduler. After A and B complete, both try to Signal client C,
Technically only once...
> however client C only gets signalled only once its activation counter gets decremented twice and reaches the expected value.
The one that decrement (atomic counter...) the C client counter and reach zero.
>
> I have not studied jack1, but was this scenario serialized in jack1 ? Would jack1 have signal client A which would run and then signal client B which would run and then signal client C ?
>
> Regards,
> Karthik Poduval
>
jack1 does a topological sort of the graph to find out a possible sequential activation order.
Stéphane
1310099251.31680_0.ltw:2,a <E2285A85-7038-41C0-AF9A-5851293D5ABF at grame dot fr>