Re: Proposal for fixing race conditions

> On Jul 16, 2013, at 11:17 PM, Robert O'Callahan <robert@ocallahan.org> wrote:
> 
> It's not clear to me how this example works. If the decoder is decoding into a buffer that's being played at the same time, hilarity ensues. If it's not, we can reclaim the buffer internally as I pointed out in a previous message.

I wasn't targeting your specific proposal in this example, but rather the worst case specification of "always copy". Your proposal does an admirable job of limiting mallocs and memcopys wherever possible, at the expense of implementation and spec complexity. 

-Jer

Received on Wednesday, 17 July 2013 06:40:22 UTC