Gossamer Forum
Home : General : Perl Programming :

Forking & Threads

Quote Reply
Forking & Threads
Hello all! Right now I'm learning how to use threads and forks. First off, threads are still in beta and my server doesn't allow me to use threads for multi-tasking. So now, I really gotta use forking for a project I'm working on. Right now, a script that I developed will submit to search engines in one process through a foreach loop on a array with the search engine urls. What I'm trying to figure out is how can fork each search engine as individual process so I can get faster submission. I've experimented, but all I can get is the entire script running a zillion times simutaneously, so it submits a url zillion times to a search engine. I don't need code, but just an idea of how to get around this have each engine submission process individual. . .

------------------
http://www.techdevelopers.com
ASP, HTML, CGI, Flash, and more!

HPCalc.com - English
Official HP Calculator Site
http://www.hpcalc.com/english

Subject Author Views Date
Thread Forking & Threads XanthisHP 4223 Jan 7, 2000, 6:48 PM
Post Re: Forking & Threads
GClemmons 4063 Jan 9, 2000, 6:20 AM
Post Re: Forking & Threads
widgetz 4076 Jan 13, 2000, 6:37 PM
Post Re: Forking & Threads
XanthisHP 4070 Jan 17, 2000, 6:40 AM