mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
rb_thread_sched_destroy
is not used now at all
This commit is contained in:
parent
127d7a35df
commit
e2a9b87126
3 changed files with 4 additions and 1 deletions
|
@ -155,6 +155,7 @@ rb_thread_sched_init(struct rb_thread_sched *sched, bool atfork)
|
|||
sched->lock = w32_mutex_create();
|
||||
}
|
||||
|
||||
#if 0
|
||||
// per-ractor
|
||||
void
|
||||
rb_thread_sched_destroy(struct rb_thread_sched *sched)
|
||||
|
@ -162,6 +163,7 @@ 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