summaryrefslogtreecommitdiff
path: root/thread_pthread.c
diff options
context:
space:
mode:
authorJohn Bampton <[email protected]>2024-10-09 03:36:17 +1000
committerHiroshi SHIBATA <[email protected]>2024-10-09 07:14:44 +0900
commit3fc1495c305bca14ab30d458e74dcc42424195d1 ()
tree611e589beb7d96725b6e5d3d7cfdfb68a974514d /thread_pthread.c
parent65494d3cc6fbe5b25431021ac155b7aba3a1dff3 (diff)
Fix spelling
Notes: Merged: https://.com/ruby/ruby/pull/11835
-rw-r--r--thread_pthread.c2
1 files changed, 1 insertions, 1 deletions
@@ -1320,7 +1320,7 @@ void
rb_ractor_sched_sleep(rb_execution_context_t *ec, rb_ractor_t *cr, rb_unblock_function_t *ubf)
{
// ractor lock of cr is acquired
- // r is sleeping statuss
rb_thread_t * volatile th = rb_ec_thread_ptr(ec);
struct rb_thread_sched *sched = TH_SCHED(th);
cr->sync.wait.waiting_thread = th; // TODO: multi-thread