Compile disabled code for thread cache always

This commit is contained in:
Nobuyoshi Nakada 2023-06-29 00:08:36 +09:00
parent e7dc8f0b27
commit c1432a4816
No known key found for this signature in database
GPG key ID: 3582D74E1FEE4465
4 changed files with 19 additions and 27 deletions

View file

@ -154,14 +154,12 @@ rb_thread_sched_init(struct rb_thread_sched *sched)
sched->lock = w32_mutex_create();
}
#if 0
void
rb_thread_sched_destroy(struct rb_thread_sched *sched)
{
if (GVL_DEBUG) fprintf(stderr, "sched destroy\n");
CloseHandle(sched->lock);
}
#endif
rb_thread_t *
ruby_thread_from_native(void)