Allowing threading with CGI

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I'm doing CGI, and plan to use for CGI application. I ran a
test, but unfortunately, my http server (Apache) won't allow multiple
threads ran within a CGI script. But the script works OK if not as CGI
and as local running script. Any suggestion? Is this normal or just my
fault somewhere?

p/s This not to run multiple users simultenously (as using mod_perl or
something) but allow a user to run multiple threads (optimization)


Re: Allowing threading with CGI

alpha_beta_release wrote:
Quoted text here. Click to load it

Depending on which platform you are on, fork() may be a better solution.
The Parallel::ForkManager module facilitates the use of multiple processes.

Gunnar Hjalmarsson

Site Timeline