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.