On 13.08.2005, at 23:47, Kohsuke Kawaguchi wrote:
Torsten,While implementing the workflow engine, I found that it's convenient to be able to create a Continuation without actually executing it. This is analogous to creating a thread in a suspended state.While this can be easily emulated by wrapping the Runnable into the following Runnable,new Runnable() { public void run() { Continuation.suspend(); realTarget.run(); } }it's bit convenient and faster/easier to do so in the javaflow itself, because all I need to do is:return new Continuation(new StackRecorder(target));
This definitely looks nicer. But I am not sure. :-/ ...can you please send me the diff off-list? cheers -- Torsten
PGP.sig
Description: This is a digitally signed message part
