- From: Marcos Caceres <w3c@marcosc.com>
- Date: Tue, 19 Aug 2014 16:44:03 -0400
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: WHAT Working Group <whatwg@lists.whatwg.org>, Mounir Lamouri <mounir@lamouri.fr>, Jonas Sicking <jonas@sicking.cc>
On August 19, 2014 at 4:39:03 PM, Tab Atkins Jr. (jackalmage@gmail.com) wrote: > > Why is isHeld still used here? You don't need it to avoid squashing > someone else's lock with this design, and several people have > pointed out that exposing it is a footgun, as people might check it and > decide they don't need to request their own lock (only to be screwed when > the other lock releases earlier or later than they expected). It's the only authoritative source of truth. But ok, fair point about the footgun. Consider the static dropped. -- Marcos Caceres
Received on Tuesday, 19 August 2014 20:44:30 UTC