guile-devel
[Top][All Lists]
Advanced

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

Re: Delimited continuations to the rescue of futures


From: Ludovic Courtès
Subject: Re: Delimited continuations to the rescue of futures
Date: Thu, 22 Nov 2012 00:28:54 +0100
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)

address@hidden (Ludovic Courtès) skribis:

> 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 didn’t do that (as discussed in this thread), and ended up merging
wip-nested-futures as is.

Thanks,
Ludo’.




reply via email to

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