[alsa-devel] Races in alsa-lib with threads

Takashi Iwai tiwai at suse.de
Sat Nov 10 14:53:59 CET 2012

At Fri, 9 Nov 2012 18:03:25 -0800,
Trent Piepho wrote:
> We've found a race with alsa-lib functions are called from multiple
> threads.  I was under the impression that alsa-lib was supposed to be
> thread safe.  Is this not the case and all alsa calls should be done
> one from thread or protected by a mutex?

Yes.  alsa-lib isn't thread-safe.


More information about the Alsa-devel mailing list