in reply to Spawning a thread in a CGI Perl file
exit will exit all threads spawned...
I suspect you want fork not threads, but either way, you almost certainly do not want Thread.
-Paul