Re: (forks) When do I need to lock variables?

[email protected] (Per Buer)
Newsgroups perl.ithreads
Organization Linpro AS
Message-ID <200309231554.02097@PERBUMSGID>
On tirsdag 23 september 2003, 15:16, Elizabeth Mattijsen wrote:
> >  How
> >about "$foo = scalar keys %HASH"? Should a wrap access to shared lists
> >and hashed with tie and lock there?
>
> I'm not sure what you mean here...

Oops. Should have been "Should _I_ wrap ...". I just want to count the number 
of keys in the hash. But I get the general idea now. 

Thanks.
-- 
There are only 10 different kinds of people in the world, 
those who understand binary, and those who don't.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.