mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fix ivar with shareable objects issue
Instance variables of sharable objects are accessible only from main ractor, so we need to check it correctly.
This commit is contained in:
parent
31e8de2920
commit
d741c77b5f
Notes:
git
2020-12-12 06:19:44 +09:00
4 changed files with 105 additions and 42 deletions
|
@ -17,5 +17,6 @@ struct gen_ivtbl {
|
|||
};
|
||||
|
||||
int rb_ivar_generic_ivtbl_lookup(VALUE obj, struct gen_ivtbl **);
|
||||
VALUE rb_ivar_generic_lookup_with_index(VALUE obj, ID id, uint32_t index);
|
||||
|
||||
#endif /* RUBY_TOPLEVEL_VARIABLE_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue