[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Delimited continuations to the rescue of futures

From: Mark H Weaver
Subject: Re: Delimited continuations to the rescue of futures
Date: Sun, 18 Nov 2012 17:19:30 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Hi Ludovic!

address@hidden (Ludovic Courtès) writes:

> Mark H Weaver <address@hidden> skribis:
>> I guess the one remaining concern I have is that if there are any
>> long-running futures in the process, then any 'touch' could take a very
>> long time to complete, even if the future it is waiting for is a very
>> short job.
>> For example, (par-map - '(1 2 3)) could take several minutes to complete
>> if (par-map process-image list-of-images) is being done in another
>> thread.
> Right.  That’s actually easy to fix, but the advantage of the current
> solution is that it uses less code.  Anyway, you’re probably right, so
> I’ll do that.

I'd be very curious to hear about your easy fix, because I couldn't
think of anything easy.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]