[DOC] Fix typos in comments in ractor.c

This commit is contained in:
Yudai Takada 2024-12-22 18:08:39 +09:00 committed by GitHub
parent 3808d29e20
commit b0d40d3d03
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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>

View File

@ -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);