mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
remove debug code
This commit is contained in:
parent
02e17d473a
commit
a770b9c87e
1 changed files with 0 additions and 2 deletions
2
ractor.c
2
ractor.c
|
@ -1175,9 +1175,7 @@ ractor_close_outgoing(rb_execution_context_t *ec, rb_ractor_t *r)
|
||||||
|
|
||||||
// wakeup all taking ractors
|
// wakeup all taking ractors
|
||||||
rb_ractor_t *taking_ractor;
|
rb_ractor_t *taking_ractor;
|
||||||
bp();
|
|
||||||
while ((taking_ractor = ractor_waiting_list_shift(r, &r->taking_ractors)) != NULL) {
|
while ((taking_ractor = ractor_waiting_list_shift(r, &r->taking_ractors)) != NULL) {
|
||||||
rp(taking_ractor->self);
|
|
||||||
RACTOR_LOCK(taking_ractor);
|
RACTOR_LOCK(taking_ractor);
|
||||||
ractor_wakeup(taking_ractor, wait_taking, wakeup_by_close);
|
ractor_wakeup(taking_ractor, wait_taking, wakeup_by_close);
|
||||||
RACTOR_UNLOCK(taking_ractor);
|
RACTOR_UNLOCK(taking_ractor);
|
||||||
|
|
Loading…
Reference in a new issue