[whatwg] Storage mutex

Jens Alfke snej at google.com
Wed Aug 26 11:09:09 PDT 2009

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.)


More information about the whatwg mailing list