in reply to Is it possible to create a single Hash-of-Hash.. with multiple threads..

I havn't been keeping up on my threads docs lately, but I seem to remember that shared hashes between threads required some sort of special handling and locking, to be assurred that the hash won't get corrupted. The example being, what if one thread is removing a primary key from the hash, while another may be trying to write a secondary key to that primary key's descendants.

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh
  • Comment on Re: Is it possible to create a single Hash-of-Hash.. with multiple threads..