|
|
Rockbox mail archiveSubject: Re: Performance regressionRe: Performance regression
From: Michael Sevakis <jethead71_at_comcast.net>
Date: Sat, 3 Dec 2011 08:33:46 -0500
> Speaking of racy, this code in pcm-sdl.c / pcm-android.c
It's only used to lock out the SDL callback, not lock out other rockbox
> We should use gcc atomic operations for "audio_locked". The
No reason to per above.
> will issue a full memory barrier but if two pcm_play_lock() functions are
Won't happen. Only rockbox threads, not interrupt-like SDL threads can use
-----
That's how it's supposed to work anyway. If you've found a hole, please
Regards,
Page was last modified "Jan 10 2012" The Rockbox Crew |