Re: Sync API for workers

On 10/13/13 4:21 PM, James Greene wrote:
>> a) is necessary, but for b) it is sufficient for the sync thread to be
>> able to sleep until a condition/mutex/... is lifted
> 
> In other words, your clarification is completely true but my initial
> statement was written with regard to client-side JavaScript, which
> cannot sleep. As such, I believe my original assertions are still
> correct with regard to writing a sync wrapper in JS.

My apologies, I had obviously misunderstood your initial statement. I
was thinking of an extension of the Worker API and how to implement it
at little CPU/battery clost.

Cheers,
 David

-- 
David Rajchenbach-Teller, PhD
 Performance Team, Mozilla

Received on Monday, 14 October 2013 09:35:07 UTC