mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Compile disabled code for thread cache always
This commit is contained in:
parent
e7dc8f0b27
commit
c1432a4816
4 changed files with 19 additions and 27 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue