In an application I am writing, I am getting an error message out stderr (see email subject), and a connection failure return result, when I try to use jack_connect() from inside a jack_set_port_registration_callback function, using Jack2. My goal is to have the application remember and re-connect to a disconnected port if/when it "comes back." Am I going to need to create a mostly sleeping thread just for port re-connections attempts, or is there something obvious I am missing?
Thanks,
Ethan...