Re: [Jack-Devel] Client timeout from jackd1 when calling get_all_connections from set_port_registration_callback
On Sun, Oct 18, 2015 at 6:40 AM, Mike Kazantsev <[hidden]>
wrote:
> Hello,
>
>
> I have a question:
>
> Is it expected that calling "get_all_connections(port)" from a port
> registration callback in libjack can cause client being timed-out by
> jackd1?
>
You cannot make any calls that talk to the server from within a callback
from the server.
No, this is not documented.
No, which calls talk to the server is not documented.
Use the callback to queue some action in another thread (e.g. your GUI, or
whatever).
1445170570.15003_0.ltw:2, <CAFa_cKnJ2TCO+gczS1gfuArREMRRS3PkZUf-hbUMDPz4oXVbJw at mail dot gmail dot com>