[alsa-devel] Locking/mutex for snd_pcm_update_hw_ptr0() call

Clemens Ladisch clemens at ladisch.de
Mon Nov 7 15:15:24 CET 2016


Alan Young wrote:
> It is possible that the DMA interrupt handler could call
> snd_pcm_update_hw_ptr0() while it is part way through a call
> from snd_pcm_status(), or vice versa?

The *lock_irq* functions disable interrupts on the current CPU.


Regards,
Clemens


More information about the Alsa-devel mailing list