alsa-lib/src
Takashi Iwai b5a2c06f6c pcm: Avoid lock for snd_pcm_nonblock()
snd_pcm_nonblock() is called as snd_pcm_abort().  Since
snd_pcm_abort() is called often from a signal handler to clean things
up (e.g. aplay does it), we may face a deadlock if the signal is
raised during the locked operation.

There can be some way to check the deadlock state, but they would cost
much.  Since the race condition of snd_pcm_nonblock() is quite small,
let's just drop the locking inside snd_pcm_nonblock() as a
workaround.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2017-02-09 17:26:52 +01:00
..
alisp alisp: remove alloca() from FA_pcm_info() 2016-07-14 16:33:53 +02:00
conf conf: Add card config for Intel HDMI/DP LPE audio 2017-02-07 14:29:50 +01:00
control ctl: correct documentation about TLV feature 2016-09-30 17:13:11 +02:00
hwdep conf: Add thread-safe global tree reference 2016-05-17 15:51:20 +02:00
mixer mixer: Fix rounding mode documentation 2016-08-22 11:27:03 +02:00
pcm pcm: Avoid lock for snd_pcm_nonblock() 2017-02-09 17:26:52 +01:00
rawmidi conf: Add thread-safe global tree reference 2016-05-17 15:51:20 +02:00
seq seq: improve documentation about new get pid/card functions 2017-01-03 17:49:07 +01:00
timer conf: Add thread-safe global tree reference 2016-05-17 15:51:20 +02:00
topology topology: Fix incorrect license in source comments. 2017-01-24 18:19:03 +01:00
ucm ucm: Add command 'get _file' to get the config file name of the opened card 2017-01-18 11:55:25 +01:00
async.c async: Handle previously installed signal handler 2016-06-01 08:16:31 +02:00
conf.c conf: Search included files under user specified configuration directories 2016-10-25 09:25:22 +02:00
confmisc.c conf: remove alloca() from snd_func_private_pcm_subdevice() 2016-07-14 16:33:52 +02:00
dlmisc.c dlmisc: Remove unused label 2014-11-16 09:43:39 +01:00
error.c all places: doxygen cleanups 2013-04-08 16:42:24 +02:00
input.c Make all the remaining ops structure constants. 2008-11-21 20:48:33 +01:00
Makefile.am topology: autotools: Add build support for topology core 2015-07-30 17:10:14 +02:00
names.c Remove docs for snd_names_list and snd_names_list_free 2012-01-19 12:35:20 +01:00
output.c fix doc errors 2009-08-04 09:17:20 +02:00
shmarea.c support building w/out System V shared memory 2015-11-05 14:37:11 +01:00
socket.c Remove unused hostname resolution in shm plugins and aserver 2015-01-28 16:23:06 +01:00
userfile.c snd_user_file: fix memory leak 2014-11-03 17:26:00 +01:00
Versions.in Fix wrong exported functions 2008-02-04 14:15:44 +01:00