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 b2ba23a commit 8af0aa6Copy full SHA for 8af0aa6
doc/synchronization.md
@@ -139,8 +139,10 @@ Notes:
139
### Core classes
140
141
`Mutex`, `Monitor`, `Queue` have to work correctly on each implementation. Ruby
142
-implementations should not crash when e.g. Array is used in parallel environment
143
-but it may loose updates etc.
+implementation VMs should not crash when for example `Array` or `Hash` is used
+in parallel environment but it may loose updates, or raise Exceptions. (If
144
+`Array` or `Hash` were synchronized it would have too much overhead when used
145
+in a single thread.)
146
147
> TODO: This section needs more work: e.g. Thread.raise and similar is an open
148
> issue, better not to be used.
0 commit comments