Hi, Lance && list!
> > Hi,
> >does anybody have sample perl script multi
> > threaded program
As of perl 5.8.0 there is a new thread implementation (IThreads).
Although its not yet recomended for production, its worth a look.
perldoc perlthrtut gives a good starting point.
HTH,
Jan
--
On Mon, 24 Feb 2003 10:45:44 -0800 (PST), [EMAIL PROTECTED] (Madhu
Reddy) wrote:
>Hi,
> does anybody have sample perl script multi
>threaded program
Here are a couple of simple examples.
When you run them, open an xterm an watch "top"
while they run.
##
you might want to start with
http://www.perldoc.com/perl5.8.0/pod/perlfunc.html#Alphabetical-Listing-of-P
erl-Functions
and look for 'fork'
warning: there is no fork for win32, you have to use theWin32::Process
module.
"Madhu Reddy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
If you haven't already, take a look at this article on Perl threads in Perl
5.8.
http://www.perl.com/pub/a/2002/06/11/threads.html
Rob
-Original Message-
From: Madhu Reddy [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 1:46 PM
To: [EMAIL PROTECTED]
Subject: Multi threading in
On Tue, 22 Jan 2002 14:47:00 + (GMT), Srinivas krish wrote:
> Hi,
>
> I want to start a server and a client script using a
> perl scripting. I was wondering if this can be
> efficiently done using the multithreading feature in
> perl script. Can anyone give sample scripts that
> brings up som