[DOC] Fix typos in comments in ractor.c
This commit is contained in:
parent
3808d29e20
commit
b0d40d3d03
Notes:
git
2024-12-22 09:08:57 +00:00
Merged: https://github.com/ruby/ruby/pull/12425 Merged-By: nobu <nobu@ruby-lang.org>
4
ractor.c
4
ractor.c
@ -1740,7 +1740,7 @@ ractor_selector__wait(VALUE selv, VALUE do_receivev, VALUE do_yieldv, VALUE yiel
|
||||
}
|
||||
RACTOR_UNLOCK_SELF(cr);
|
||||
|
||||
// check the taken resutl
|
||||
// check the taken result
|
||||
switch (taken_basket.type.e) {
|
||||
case basket_type_none:
|
||||
VM_ASSERT(do_receive || do_yield);
|
||||
@ -3898,7 +3898,7 @@ ractor_local_value_store_i(VALUE ptr)
|
||||
struct ractor_local_storage_store_data *data = (struct ractor_local_storage_store_data *)ptr;
|
||||
|
||||
if (rb_id_table_lookup(data->tbl, data->id, &val)) {
|
||||
// after synchronization, we found already registerred entry
|
||||
// after synchronization, we found already registered entry
|
||||
}
|
||||
else {
|
||||
val = rb_yield(Qnil);
|
||||
|
Loading…
x
Reference in New Issue
Block a user