W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2009

[whatwg] Storage mutex

From: Jens Alfke <snej@google.com>
Date: Wed, 26 Aug 2009 11:09:09 -0700
Message-ID: <B76E5406-A976-4595-8F47-E230A44A7749@google.com>

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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:51 UTC