multithreading - perl cgi threads -


i having bit of problem cgi web application, use ithreads parallel processing, thread have common 'goal'. detach of them, , once find answer, call exit. problem script continue processing after user has closed connection , left, of course if problem resourcewise. there way force exit on parent process if user has disconnected?

afaik create , destroy threads isn't (at least now) perl practice because increase memory usage!
should think in other way job done. solution create pool of threads , send arguments of shared array or thread::queue.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -