Project

General

Profile

Bug #22456 » allow-trap-3.4.patch

txapelgorri (Ibon Castilla), 10/19/2026 03:08 PM

View differences:

thread.c
if (has_any) {
wakeup_mutex = rb_mutex_new();
RBASIC_CLEAR_CLASS(wakeup_mutex); /* hide from ObjectSpace */
rb_mutex_allow_trap(wakeup_mutex, 1);
}
busy->wakeup_mutex = wakeup_mutex;
(1-1/2)