[whatwg] Storage mutex

On Aug 25, 2009, at 10:36 PM, Jeremy Orlow wrote:

> What about yieldStorageMutex?  Yield is enough different from unlock  
> that I don't think it'll leave developers looking for the lock  
> function.  Yield fits pretty well since this is essentially  
> cooperative multi-tasking.  StorageMutex is good because that's what  
> its actually affecting.

+1 ... "yield" is a good established term for this sort of behavior.

(At a higher level, though, I'm still uncomfortable with semantics  
that allow a poorly-written worker thread to indefinitely lock up JS  
code running in web pages.)

?Jens

Received on Wednesday, 26 August 2009 11:09:09 UTC