Re: alsa and locking

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

 



At Fri, 19 May 2006 18:11:02 +0200,
Johannes Berg wrote:
> 
> I was looking into locking a bit but can't figure out what alsa already
> locks and where I need my own locks. Any document detailing what must be
> done and what is already locked?

Some descriptions are found in the atomicity section of my tutorial.

All control callbacks are not protected, except for rwsem against
addition/removal of elements.

The PCM trigger, pointer and ack callbacks shall be atomic, where 
protected with spinlock and irq disabled.  Other PCM callbacks are
not protected but for open mutex.


Takashi


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/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