]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: Remove home brew atomic operations
authorTakashi Iwai <tiwai@suse.de>
Thu, 30 Jun 2016 15:24:42 +0000 (17:24 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 11 Jul 2016 13:25:30 +0000 (15:25 +0200)
commit7a8a1d155267fb6e21ddaa0787d121ec47a15bf2
tree9d98f435bfc71fc5d3d398f67335777d2252c115
parent54931e5a5455ac681a32a673d4b360d43f34b6b5
pcm: Remove home brew atomic operations

We've had a few home brew atomic operations in a couple of places in
the PCM code.  This was for supporting the concurrent accesses, but in
practice, it couldn't cover the race properly by itself alone.

Since we have a wider concurrency protection via mutex now, we can get
rid of these atomic codes, which worsens the portability
significantly.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/Makefile.am
include/iatomic.h [deleted file]
src/pcm/Makefile.am
src/pcm/atomic.c [deleted file]
src/pcm/pcm_plugin.c
src/pcm/pcm_plugin.h
src/pcm/pcm_rate.c