[alsa-devel] [PATCH 8/9] ALSA: compress: call pointer callback and updates under a lock

Vinod Koul vinod.koul at intel.com
Tue Aug 27 11:48:59 CEST 2013


On Tue, Aug 27, 2013 at 12:31:33PM +0200, Takashi Iwai wrote:
> At Tue, 27 Aug 2013 12:10:38 +0530,
> Vinod Koul wrote:
> > 
> > to prevent racy claculations as multiple threads can invoke and update values
> 
> Why a new lock?  Can't it be the same lock?
Pointer query and updates IMO should be independent of the trigger ops. I dont
see a reason why we should blcok pointers while we are pausing...

~Vinod


More information about the Alsa-devel mailing list