Re: [PATCH 0/3] alsa-lib: UCM - Use Case Manager

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux