[webkit-dev] Parallel JavaScript: Why a separate ParallelArray types

Benjamin Poulain benjamin at webkit.org
Sat Apr 13 01:42:51 PDT 2013


On Sat, Apr 13, 2013 at 12:25 AM, Filip Pizlo <fpizlo at apple.com> wrote:

> You can also design lock APIs this way:
>
> lock.acquireAsynchronously(function() { … do things … });
>
> It's less attractive to me, but I think that this is similar to other
> programming models already out there.
>

Maybe a stupid question but: is there any other way to do a lock in this
case? (assuming you can never block the main event loop). I was only
considering models like the one above.

Benjamin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130413/b0be6a61/attachment.html>


More information about the webkit-dev mailing list