Multithreading on a Preprocessor Extension

We have a pre processing extension in which we do some intensive processing.

This makes the the content item window to show Processing Request… message for a long time.

Is there any way to kick of a new thread that does the processing, and lets the window returns to its state without waiting for the processing to complete?

thanks
Manvinder

Yes, you can spawn a new thread from within a pre-processor extension.

However, there is a significant restriction: you cannot access the IPSRequestContext from within the new thread.

This makes this approach impractical if you want the pre-processor extension to change the HTML parameters or otherwise change the action performed by the request.

If you want to do statistics gathering, notification or some other process that does not change the current request, then this may work for you.

Dave