Bug #22456 » allow-trap-3.4.patch
| 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;
|
||