[Jackaudio] Processing callback thread safety guarantees
danny+jack-mailing at wensley.eu
Sat Apr 11 20:31:11 CEST 2020
I'm in the process of building a small application that utilises Jack in
order to interface with audio hardware. Specifically, although this detail
is only partially relevant, I'm writing it in Rust (using some community
I was wondering what the thread safety guarantees of calling the processing
callback are. Specifically, I was wondering if it can be guaranteed that
the callback will only be called on a single thread at any given time?
This is primarily because it determines whether or not it is required for
the callback to be marked as "Sync" in Rust - which would indicate that the
callback's data must be thread safe, a restriction I'd prefer to avoid.
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the JackAudio