[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Continuations based Java framework for asynchronous processesdevelopment
On Wed, 7 May 2003, Serguei Mourachov wrote:
> This message can be considered as kind of follow-up for discussion initiated
> by Dan Sugalski about resistance of accepting continuations.
>
> My company just released a Java framework for asynchronous processes
> development; http://www.velare.com/product/atct.htm .
>
> It uses Execution Context Reification to implement continuations
> functionality in pure Java.
Are these reusable continuations, or one-shot?
> public static void main(String[] args) throws Throwable {
> HelloWorld t = new HelloWorld();
> ATCThread atct = new ATCThread(t);
>
> //mc represents a call to getStringToPrint
> MethodCall mc = atct.start();
>
> //value "Hello World!!!" will be used to continue the execution and will
> appear in the print out.
> atct.resume("Hello World!!!");
> }
This would make more sense to me if it were
mc.resume("Hello World!!!");
Typo, or my misunderstanding?