Re: Proposal for fixing race conditions

Robert O'Callahan wrote:

> The status quo in Webkit, as I understand it, allows changes to the array
> after the setValueCurveAtTime call to affect the AudioParam's behavior on
> the audio thread, so those changes may or may not be observed depending on
> all sorts of implementation details, including details of the memory
> subsystem of the underlying hardware. This is unprecedented in existing
> specs and I will object to it all the way through the W3C process if
> necessary.

I would like to back Robert up and voice my objections to the racy API. We should not be adding low-level data races to JavaScript or the web platform, nor should we be exposing architecture-specific memory models.

Dave

Received on Thursday, 27 June 2013 19:38:55 UTC