Re: Installing Perl ithreads in perl 5.8

2010-03-23 Thread Jerry D. Hedden
Look at the 'forks' module: http://search.cpan.org/~rybskej/forks-0.33/lib/forks.pm On Tue, Mar 23, 2010 at 01:00, Ajeet Kumar wrote: > I want to share variable among threads, where threads are created using   > fork, not using ithreads.So, How to move with it? I had tried the following :-

Re: Installing Perl ithreads in perl 5.8

2010-03-23 Thread Brian J. Miller
Elizabeth Mattijsen wrote: On Mar 23, 2010, at 6:00 AM, Ajeet Kumar wrote: I want to share variable among threads, where threads are created using fork, not using ithreads.So, How to move with it? I had tried the following :- 1.) Declared a variable in main process 2.) taken it's reference in

RE: Installing Perl ithreads in perl 5.8

2010-03-23 Thread Ajeet Kumar
My requirement is to use perl...I can not move with python... -Original Message- From: Chris Fowler [mailto:cfow...@outpostsentinel.com] Sent: Tuesday, March 23, 2010 4:11 PM To: Ajeet Kumar Cc: perl-ithreads@perl.org Subject: Re: Installing Perl ithreads in perl 5.8 On Tue, 2010-03-23

Re: Installing Perl ithreads in perl 5.8

2010-03-23 Thread Chris Fowler
On Tue, 2010-03-23 at 07:23 +0100, Elizabeth Mattijsen wrote: > > Otherwise, if forks doesn't do it for you: don't use Perl, use C. I believe python has a threading model that seems to work like real threads do. Do you know Python?

Re: Installing Perl ithreads in perl 5.8

2010-03-22 Thread Elizabeth Mattijsen
't do it for you: don't use Perl, use C. Liz = > -Original Message- > From: Elizabeth Mattijsen [mailto:l...@dijkmat.nl] > Sent: Monday, March 22, 2010 6:37 PM > To: Ajeet Kumar > Cc: perl-ithreads@perl.org > Subject: Re: Installing Perl it

RE: Installing Perl ithreads in perl 5.8

2010-03-22 Thread Ajeet Kumar
hread model.(I don't want to rebuild the perl interpreter) -Original Message- From: Elizabeth Mattijsen [mailto:l...@dijkmat.nl] Sent: Monday, March 22, 2010 6:37 PM To: Ajeet Kumar Cc: perl-ithreads@perl.org Subject: Re: Installing Perl ithreads in perl 5.8 Re-compile Perl 5.8 wit

Re: Installing Perl ithreads in perl 5.8

2010-03-22 Thread Jerry D. Hedden
On Mon, Mar 22, 2010 at 09:01, Ajeet Kumar wrote: > I have Perl 5.8 in my solaris machine, but without ithreads enabled. Now I > want to install ithreads also. So, Please mention the required steps to be > followed, in order to get it done ASAP. If you get the Perl distribution tarball and untar

Re: Installing Perl ithreads in perl 5.8

2010-03-22 Thread Elizabeth Mattijsen
Re-compile Perl 5.8 with ithreads enabled. That's the only option. Liz == On Mar 22, 2010, at 2:01 PM, Ajeet Kumar wrote: > I have Perl 5.8 in my solaris machine, but without ithreads enabled. Now I > want to install ithreads also. So, Please mention the required steps to be