diff options
author | Benoit Daloze <eregontp@gmail.com> | 2022-12-20 17:59:46 +0100 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2022-12-20 19:32:23 +0100 |
commit | 45175962a6fd74ab2e9ba92f1280f3987af25494 (patch) | |
tree | 7a4fcccfd76b12ffdc853a93822ba74b56b4e6e6 /include/ruby/internal/intern | |
parent | 88040063d0ec8aa64e0de2a3afae7286ec53bfdb (diff) | |
download | ruby-45175962a6fd74ab2e9ba92f1280f3987af25494.tar.gz |
Never use the storage of another Fiber, that violates the whole design
* See https://bugs.ruby-lang.org/issues/19078#note-30
Diffstat (limited to 'include/ruby/internal/intern')
-rw-r--r-- | include/ruby/internal/intern/cont.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/ruby/internal/intern/cont.h b/include/ruby/internal/intern/cont.h index 1ec78793b7..32647f48aa 100644 --- a/include/ruby/internal/intern/cont.h +++ b/include/ruby/internal/intern/cont.h @@ -45,11 +45,7 @@ VALUE rb_fiber_new(rb_block_call_func_t func, VALUE callback_obj); * If the given storage is Qundef or Qtrue, this function is equivalent to * rb_fiber_new() which inherits storage from the current fiber. * - * If the given storage is Qfalse, this function uses the current fiber's - * storage by reference. - * - * Specifying either Qtrue or Qfalse is experimental and may be changed in the - * future. + * Specifying Qtrue is experimental and may be changed in the future. * * If the given storage is Qnil, this function will lazy initialize the * internal storage which starts of empty (without any inheritance). |