On Mon, Nov 9, 2009 at 1:42 PM, Adam Barth <span dir="ltr"><<a href="mailto:whatwg@adambarth.com">whatwg@adambarth.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
As I mentioned to Ian at TPAC, one way to make this more predictable<br>
is to release the lock on *every* function call and return. This<br>
provides content enough atomicity to build whatever locks it needs.<br></blockquote><div> </div></div>Then simple refactorings that should be semantics-preserving --- like extracting a block of code into a shared function --- would break atomicity. This also places a new burden on JS implementations.<br clear="all">
<br>Rob<br>-- <br>"He was pierced for our transgressions, he was crushed for our iniquities; the punishment that brought us peace was upon him, and by his wounds we are healed. We all, like sheep, have gone astray, each of us has turned to his own way; and the LORD has laid on him the iniquity of us all." [Isaiah 53:5-6]<br>