[LAD] Writing to an eventfd from a realtime thread
karthik.poduval at gmail.com
Wed Sep 24 22:15:21 UTC 2014
You could also use a jack_rigbuffer_t, its lock free and hence should be RT
You could write a known msg into the ring buffer from the RT thread,
receive the msg from non real-time thread and do event passing from there.
On Wed, Sep 24, 2014 at 5:39 AM, Tim Goetze <tim at quitte.de> wrote:
> [William Light]
> >I'm avoiding blocking, of course, but I'm also worried about the
> >potential scheduling implications of jumping into kernel-mode and back,
> >and also the potential non-determinism of system call execution time.
> >Are these things I should actually worry about?
> I've been using pipes for message-passing the way Clemens mentioned in
> realtime MIDI and audio threads for years without ever experiencing any
> scheduling or blocking problems.
> Cheers, Tim
> Linux-audio-dev mailing list
> Linux-audio-dev at lists.linuxaudio.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Linux-audio-dev