On 11/10/11 5:50 AM, Jan Algermissen wrote:
Hi,
suppose I have a potentially long running computation[1] in a plugin. It will
be short most of the time but might be longer.
What I am looking for is a way to ensure that the computation does not block
the main request handling thread.
Can you point me to the documentation page where I can read how this is done
best or what approaches there are?
Basically, you want to reschedule yourself, and (typically) make sure you
don't re-enable the HttpSM, or it will proceed with the state machine.
-- leif