[alsa-devel] snd_pcsp locking mess

Stas Sergeev stsp at aknet.ru
Mon Oct 20 23:51:57 CEST 2008


Takashi Iwai wrote:
> Indeed, the async trigger is nice to have in the common place.
> However, the change wouldn't be as trivial as it sounds, as you
> mentioned.  By async nature, there can be a transition phase between
> the XRUN and STOP, which can cause races.
Could you please elaborate on how my
proposed patch could possibly affect
that? It basically doesn't do anything
at all except providing one more callback
for what would otherwise had to be done
in a trigger() callback anyway.
If there is a race with that patch, then
I pretty much suspect it was with an old
code too. I can't imagine any possible
change. What have changed?

More information about the Alsa-devel mailing list