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

Mike Kazantsev mk.fraggod at gmail.com
Sun Oct 18 18:33:42 CEST 2015


On Sun, 18 Oct 2015 08:15:59 -0400
Paul Davis <paul at linuxaudiosystems.com> wrote:

> 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).

Thanks for clarifications!

Indeed, that's what I ended up doing.


-- 
Mike Kazantsev // fraggod.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <https://lists.linuxaudio.org/archives/jackaudio/attachments/20151018/45629014/attachment.sig>


More information about the Jackaudio mailing list