Is there a way to create a thread in flowscript and have the "cocoon.processPipeline" run in it?

Yes, definitely...

        var t = new java.lang.Thread (

<snip/>

Oh, my!! Maybe as long as you don't need to scale...

cheers
--
Torsten

Attachment: PGP.sig
Description: This is a digitally signed message part