unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Andy Wingo <wingo@pobox.com>
Cc: guile-devel@gnu.org
Subject: Re: ice-9 async-queue
Date: Wed, 07 Mar 2012 22:11:24 +0100	[thread overview]
Message-ID: <87eht4jev7.fsf@gnu.org> (raw)
In-Reply-To: <87aa3xbmgm.fsf@pobox.com> (Andy Wingo's message of "Sat, 03 Mar 2012 18:53:13 +0100")

Hi!

Andy Wingo <wingo@pobox.com> skribis:

> On Wed 08 Feb 2012 14:44, ludo@gnu.org (Ludovic Courtès) writes:
>
>> What do you think of adding a ‘cancel’ primitive to futures?
>
> It sounds good, but tricky to implement.  I'm also not sure it's exactly
> the right interface -- for example, Java seems to have switched entirely
> away from the "cancel" API to the "interrupt" API.  But you would know
> more about that than I would.  Would you use cancel-thread or would you
> have the thread raise an exception via an async, or what?

I don’t know.

Actually, what kind of computation would the web server start that could
possibly need to be canceled?  (Pure computation, that is.)

Thanks,
Ludo’.



  reply	other threads:[~2012-03-07 21:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-06 17:00 ice-9 async-queue Andy Wingo
2012-02-06 22:09 ` Mike Gran
2012-02-07  8:34   ` Andy Wingo
2012-02-07  8:36   ` Andy Wingo
2012-02-06 22:57 ` Ludovic Courtès
2012-02-07  8:44   ` Andy Wingo
2012-02-08 13:44     ` Ludovic Courtès
2012-03-03 17:53       ` Andy Wingo
2012-03-07 21:11         ` Ludovic Courtès [this message]
2012-02-07 10:02 ` Daniel Hartwig
2012-02-07 21:46   ` Andy Wingo
2012-02-08  8:36     ` Daniel Hartwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eht4jev7.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guile-devel@gnu.org \
    --cc=wingo@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).