Re: [Jack-Devel] Client timeout from jackd1 when calling get_all_connections from set_port_registration_callback

PrevNext  Index
DateSun, 18 Oct 2015 08:15:59 -0400
From Paul Davis <[hidden] at linuxaudiosystems dot com>
ToMike Kazantsev <[hidden] at gmail dot com>
CcJACK <[hidden] at lists dot jackaudio dot org>
In-Reply-ToMike Kazantsev [Jack-Devel] Client timeout from jackd1 when calling get_all_connections from set_port_registration_callback
Follow-UpMike Kazantsev 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).
PrevNext  Index

1445170570.15003_0.ltw:2, <CAFa_cKnJ2TCO+gczS1gfuArREMRRS3PkZUf-hbUMDPz4oXVbJw at mail dot gmail dot com>