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

Takashi Iwai tiwai at suse.de
Tue Aug 27 13:03:17 CEST 2013


At Tue, 27 Aug 2013 15:18:59 +0530,
Vinod Koul wrote:
> 
> 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...

What happens if the trigger or reset is called during your taking the
timestamp?


Takashi


More information about the Alsa-devel mailing list