We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a38d98d commit 6f9d974Copy full SHA for 6f9d974
lib/concurrent/hash.rb
@@ -8,7 +8,8 @@ module Concurrent
8
#
9
# A thread-safe subclass of Hash. This version locks against the object
10
# itself for every method call, ensuring only one thread can be reading
11
- # or writing at a time. This includes iteration methods like `#each`.
+ # or writing at a time. This includes iteration methods like `#each`,
12
+ # which takes the lock repeatedly when reading an item.
13
14
# @see http://ruby-doc.org/core-2.2.0/Hash.html Ruby standard library `Hash`
15
class Hash < ::Hash;
0 commit comments