diff options
author | Benoit Daloze <eregontp@gmail.com> | 2022-12-20 22:10:37 +0100 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2022-12-20 23:05:56 +0100 |
commit | 4495dea153a097c59d56819bc827bebfbef5be3f (patch) | |
tree | 4d3ecaf69b58325d7a058d3d7e369a18b21ae850 /NEWS.md | |
parent | 39e70eef724d1c4b50a6ee894c35a3e60773671c (diff) |
Improve documentation for fiber-scoped variables
* Especially around Enumerator.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6974
Diffstat (limited to 'NEWS.md')
-rw-r--r-- | NEWS.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -103,8 +103,8 @@ Note: We're only listing outstanding class updates. fiber. [[Feature #19078]] Existing Thread and Fiber local variables can be tricky to use. - Thread local variables are shared between all fibers, making it - hard to isolate, while Fiber local variables can be hard to + Thread-local variables are shared between all fibers, making it + hard to isolate, while Fiber-local variables can be hard to share. It is often desirable to define unit of execution ("execution context") such that some state is shared between all fibers and threads created in that context. This is what Fiber |