The Advanced Linux Sound Architecture (ALSA) - library
Find a file
Takashi Iwai 1cb217ead9 ALSA: pcm: Use recursive mutex
The recent thread-safety pthread implementation caused deadlocks in
some situations, e.g. when an external plugin calls snd_pcm_state() in
its callback.  One can avoid the deadlock by carefully using the
unlocked version, but it's often error-prone, and it might be still
problem with the old binaries.

In this patch, we initialize the pthread mutex as recursive for fixing
such a problem.

Suggested-by: Timo Wischer <twischer@de.adit-jv.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2017-04-21 20:36:40 +02:00
alsalisp autotools: update style 2014-02-26 08:16:22 +01:00
aserver coverity fixes 2016-01-12 16:26:58 +01:00
doc doxygen: Suppress timestamp 2016-06-23 16:29:07 +02:00
include hwdep: add support for MOTU FireWire series and RME Fireface series 2017-04-21 17:57:57 +02:00
m4
modules mixer: Don't install smixer modules unless python is enabled 2016-11-14 11:46:05 +01:00
src ALSA: pcm: Use recursive mutex 2017-04-21 20:36:40 +02:00
test test: use actual information for TLV operation 2016-09-30 17:12:38 +02:00
utils autotools: update style 2014-02-26 08:16:22 +01:00
.gitignore Add pcm-multi-thread to .gitignore 2016-07-07 16:30:54 +02:00
acinclude.m4
ChangeLog
configure.ac conf/ucm: broxton: add broxton-rt298 conf files 2017-01-12 11:21:33 +01:00
COPYING
gitcompile
INSTALL pcm: Add thread-safety to PCM API 2016-07-11 15:25:30 +02:00
Makefile.am autotools: update style 2014-02-26 08:16:22 +01:00
MEMORY-LEAK
NOTES
TODO