Re: Help needed
[email protected] ("BTR Naidu") Thu, 8 Feb 2007 09:41:31 +0530
| Newsgroups | perl.ithreads |
|---|---|
| Message-ID | <[email protected]> |
Hi Arnold, Thanks for your reply. The OS in which I am running perl is on Windows 2000. Further, I dont was to use any client/server model for input/output. Basically, there are set of independent activities which I should be performing everyday as a backup. Now presently I have one perl script which does this in sequence. This takes longer time to finish (almost 8 hrs). Now I wanted to use threads and perform the tasks in parallel so that it finished sooner. While doing this, to know which thread did what and what was its error/output messages, I wanted to run them(threads) in separate shell window. Hope I am a bit clear this time in explaining what I wanted. Any thoughts? Appreciate your help. Thanks and regards BTR Naidu On 2/7/07, Martin Roos <[email protected]> wrote: > > What you need is an application that shares it's data over sockets with > 10 different "client" programs that are all executed from their own > xterms or whatever you meant in the expression "different windows". > > You don't really need 10 threads for this, use a server/client model and > sockets, believe me, considering how ithreads work it will be easier not > to "ithread" it, especially since you don't seem to really know what > you're about to do there. > > Martin - offensive, critical, brutally honest as always > > BTR Naidu wrote: > > Hi, > > > > I wanted to write a perl script in which there are 10 threads created > and > > all these 10 threads should be executed in 10 different command window. > > The > > thread is running under windows. > > > > Did lot of google but no info on the same. Can anybody help me in > solving > > this? > > > > -- Thankx and Regards BTR Naidu +91-99009-22114