RE: Installing Perl ithreads in perl 5.8
[email protected] (Ajeet Kumar) Tue, 23 Mar 2010 10:30:08 +0530
| Newsgroups | perl.ithreads |
|---|---|
| Message-ID | <9D3461AEAD295E42AF368BE758CA7C0CBD996F8E@GUREXMB01.ASIAN.AD.ARICENT.COM> |
Hello, I want to share variable among threads, where threads are created using fo= rk, 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 main process 3.) Now, as because the reference is available two all of my threads, I tri= ed to change the value of my variable using the reference. 4.) However, changes done by the thread is only reflected to that particula= r thread only, not to other thread and even not in the main process. Please, give any solution, without using any ithreads or any other thread m= odel.(I don't want to rebuild the perl interpreter) -----Original Message----- From: Elizabeth Mattijsen [mailto:[email protected]] Sent: Monday, March 22, 2010 6:37 PM To: Ajeet Kumar Cc: [email protected] Subject: Re: Installing Perl ithreads in perl 5.8 Re-compile Perl 5.8 with ithreads enabled. That's the only option. Liz =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 b= e followed, in order to get it done ASAP. > > > Thanks & Regards > AJEET KUMAR GUPTA > > Trainee-Software Engineer > > > > A R I C E N T > > > > Plot 17 Electronic City Sector 18 > > Gurgaon 122015 India > > > > Hand Phone +91 9871675405 > > Extension 3445 > > > > > > ________________________________ > "DISCLAIMER: This message is proprietary to Aricent and is intended solel= y for the use of the individual to whom it is addressed. It may contain pri= vileged or confidential information and should not be circulated or used fo= r any purpose other than for what it is intended. If you have received this= message in error, please notify the originator immediately. If you are not= the intended recipient, you are notified that you are strictly prohibited = from using, copying, altering, or disclosing the contents of this message. = Aricent accepts no responsibility for loss or damage arising from the use o= f the information transmitted by this email including damage from virus." "DISCLAIMER: This message is proprietary to Aricent and is intended solely = for the use of the individual to whom it is addressed. It may contain privi= leged or confidential information and should not be circulated or used for = any purpose other than for what it is intended. If you have received this m= essage in error, please notify the originator immediately. If you are not t= he intended recipient, you are notified that you are strictly prohibited fr= om using, copying, altering, or disclosing the contents of this message. Ar= icent accepts no responsibility for loss or damage arising from the use of = the information transmitted by this email including damage from virus."