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

Paul Davis paul at linuxaudiosystems.com
Sun Oct 18 14:15:59 CEST 2015


On Sun, Oct 18, 2015 at 6:40 AM, Mike Kazantsev <mk.fraggod at gmail.com>
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).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.linuxaudio.org/archives/jackaudio/attachments/20151018/05a224c8/attachment.html>


More information about the Jackaudio mailing list