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

Trent Piepho tpiepho at gmail.com
Tue Nov 13 08:14:08 CET 2012

On Tue, Nov 13, 2012 at 1:32 AM, Takashi Iwai <tiwai at suse.de> wrote:
> At Mon, 12 Nov 2012 19:40:42 +0000 (UTC),
> Rob Krakora wrote:
>> Would you be able to point me the the ALSA documentation that indicates the
>> stipulations on handle usage using multiple threads?  I cannot find it.
> Think other way round:
> The fact that it isn't documented means it's not safe to use in that
> way :)

The introduction on the alsa-project home page says, "SMP and
thread-safe design. "  Some people might misunderstand what
thread-safe means.  Maybe some clarification could be added.
"Different streams are SMP and thread-safe (calls for the same stream
must be serialized)."

More information about the Alsa-devel mailing list