Hi! Andy Wingo <wi...@pobox.com> skribis:
> On Wed 08 Feb 2012 14:44, l...@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’.