alsa-lib/src
Takashi Iwai 0fc4b4d17b pcm: Better understandable locking code
The newly added locking code seems to have confused quite a few
people, as "thread_safe=1" may be considered as if the thread-safety
lock has to be turned on.  (It meant that the plugin _is_ thread-safe,
i.e. it needs no extra locking.)

For avoiding such a misunderstanding, this commit renames the relevant
pcm fields and give more comments to explain what is for what.
The former single pcm->thread_safe flag is now split to two boolean
flags, pcm->need_lock and pcm->lock_enabled.  It consumes a few more
bytes, but this would be (hopefully) better understandable.

No functional change by this commit.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2016-09-02 10:13:48 +02:00
..
alisp alisp: remove alloca() from FA_pcm_info() 2016-07-14 16:33:53 +02:00
conf conf: bxtrt298: Add topology conf file for bxt 2016-08-30 16:34:08 +02:00
control ctl: use condition statements instead of assert() for new APIs to add an element set 2016-07-20 14:32:14 +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: Better understandable locking code 2016-09-02 10:13:48 +02:00
rawmidi conf: Add thread-safe global tree reference 2016-05-17 15:51:20 +02:00
seq conf: Add thread-safe global tree reference 2016-05-17 15:51:20 +02:00
timer conf: Add thread-safe global tree reference 2016-05-17 15:51:20 +02:00
topology topology: Fix the missing referenced elem ptr when merging private data 2016-07-25 11:55:35 +02:00
ucm ucm: add cset-tlv 2016-04-13 15:40:17 +02:00
async.c async: Handle previously installed signal handler 2016-06-01 08:16:31 +02:00
conf.c conf: Add thread-safe global tree reference 2016-05-17 15:51:20 +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