On Wed, May 28, 2008 at 7:53 AM, perl pra <[EMAIL PROTECTED]> wrote: > Hi gurus, > > I need to create "n" mulitple threads simaltaneously and all the threads > should do same operation(just like Jmeter). > > > i have a subroutine > > sub printname{ > > my ($tid)[EMAIL PROTECTED]; > > print "name is guru tid is $tid\n"; > > } > > > > all the threads should execute the above subroutine simaltaneoulsy. > > > Thanks, > siva >
Are you certain you need threads? It sounds like fork will do the job. -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/