8 Sep
2010
8 Sep
'10
10:19 a.m.
Creating another thread .... state locking ...
I understand the motivation to create a layer for phone or similar embedded devices which uses usually all streams from the one process.
But what about more concurrent processes? The state handling in the current implementation is per process, so another process just overwrite blindly the control values set by the first process.
I think that the layer should have some locking mechanism and state persistency (IPC semaphores / IPC shared memory) or a file and inotify?
Another question is how to handle collisions.
Jaroslav
----- Jaroslav Kysela perex@perex.cz Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc.