Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

static DECLARE_MUTEX ( mutex   )  [static]

This mutex is used to provide mutual exclusion.

Create a mutex that can be used to provide mutually exclusive read/write access to the globally accessible data structures that were defined above. Mutually exclusive access is required to ensure that the audio data structures are consistent at all times when possibly accessed by multiple threads of execution.

Note that we use a mutex instead of the spinlock whenever disabling interrupts while in the critical section is not required. This helps to minimize kernel interrupt handling latency.


Generated by  Doxygen 1.6.0   Back to index