Jackval client_open : string -> client_open_option list -> clientval client_close : client -> unitval get_sample_rate : client -> intval get_buffer_size : client -> intmodule Ringbuffer : sig ... endval activate : client -> unitval port_connect : client -> string -> string -> unitval port_name : port -> stringmodule Wait : sig ... endLightweight one-shot thread synchronization. Backed by a POSIX semaphore on Unix/macOS (via GCD dispatch semaphores on macOS) and a mutex+condition variable on Windows. One thread calls wait to block; another calls signal to unblock it.