[web-audio-api] Visible Data Races (#254)

The following issue was raised by the W3C TAG as part of their [review of the Web Audio API](https://github.com/w3ctag/spec-reviews/blob/master/2013/07/WebAudio.md)

### Visible [Data Races](http://blog.regehr.org/archives/490)

This topic has been debated on the [`public-audio` mailing list](http://lists.w3.org/Archives/Public/public-audio/2013JulSep/0162.html) and in [blogs](http://robert.ocallahan.org/2013/07/avoiding-copies-in-web-apis.html).

It's reasonable to suggest that de-sugaring into a style that transfers ownership of buffers to nodes during processing is sufficient to close much of the problem down, but whatever the solution, we wish to be on the record as saying clearly that it is impermissible for Web Audio to unilaterally add visible data races to the JavaScript execution model.

The Web Audio group is best suited to solve this issue, but we insist that no API be allowed to create visible data races from the perspective of linearly-executing JavaScript code.

Reply to this email directly or view it on GitHub:

Received on Thursday, 17 October 2013 12:26:46 UTC