Posted on 2009-03-02 21:35:02-08 by cfa4matt in response to 10091
Re: CGI with threads throws error
Well, making those changes did stop the RPC error from happening but the main program didn't return until after all threads finish, ie. the whole 8 seconds for the longest thread. This makes the timeout feature useless if I have to wait for each thread to complete however long it takes. As long as I use detach, I still get the RPC errors and the wonky behavior for the program when run as a CGI.
Direct Responses: 10102 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.