Re: stopping a computation done in a "future" object

2009-03-07 Thread David Powell
> Hello, > Sometimes, one wants to answer to an event by starting a > (potentially long) computation in the background. > But if the same event is received again, one may want to stop the > computation currently running in the background, and relaunch one in the > background with newest data. >

stopping a computation done in a "future" object

2009-03-07 Thread Laurent PETIT
Hello, Sometimes, one wants to answer to an event by starting a (potentially long) computation in the background. But if the same event is received again, one may want to stop the computation currently running in the background, and relaunch one in the background with newest data. Is this use cas