Class | N::SafeHash |
In: |
lib/glue/hash.rb
|
Parent: | Hash |
A thread-safe hash. We use a sync object instead of a mutex, because it is re-entrant. An exclusive lock is needed when writing, a shared lock IS NEEDED when reading uses the delegator pattern to allow for multiple implementations!
sync | [R] |