related link

Neal Gafter neal at gafter.com
Tue Feb 9 13:55:11 PST 2010


On Tue, Feb 9, 2010 at 1:52 PM, John Nilsson <john at milsson.nu> wrote:

> On Tue, Feb 9, 2010 at 10:05 PM, Neal Gafter <neal at gafter.com> wrote:
>
>> How would you do this using the macro scheme?
>>
>
> Given the macro I previously defined. The following would be expanded as
> below. But you were right, it was quite instructive. What does it mean to
> return concurrently? I guess the right thing to do is to change the macro to
> block the first thread waiting for the futures and return from there.
>

I don't see how your macro will do that.  I don't see how you're going to
make return work, or break or continue, or labeled break or labeled continue
to particular enclosing loops or labelled statements.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/closures-dev/attachments/20100209/7a8632d1/attachment.html 


More information about the closures-dev mailing list