Let's assume that I have a class extends Thread and it is complied and packed in a file of .jar format. Addtionally, I consider the class as a black box. How can I acquire the continuation object of this class in any random instant point of time? Is it mandatory to inject/weave "Continuation.suspend" into its all functions in order to capture its states?
That's not what continuations are really about ...sounds you are more after thread serialization. For javaflow you have call out and tell when you want to suspend ...at least that's how it is now.
That being said triggering the suspend from an external Thread should be possible. Of course that raises concurrency issues that need to be solved. (I have actually already played with that some while ago)
cheers -- Torsten --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
