@@ -1742,7 +1742,7 @@ rb_thread_io_interruptable_operation_ensure(VALUE _argument)
17421742}
17431743
17441744VALUE
1745- rb_thread_io_interruptable_operation (VALUE self , VALUE (* function )(VALUE ), VALUE argument , int flags )
1745+ rb_thread_io_interruptable_operation (VALUE self , VALUE (* function )(VALUE ), VALUE argument )
17461746{
17471747 struct rb_io * io ;
17481748 RB_IO_POINTER (self , io );
@@ -2665,7 +2665,7 @@ rb_ec_reset_raised(rb_execution_context_t *ec)
26652665int
26662666rb_notify_fd_close (int fd , struct rb_io_close_wait_list * busy )
26672667{
2668- fprintf (stderr , "rb_notify_fd_close(%d) pid=%d\n" , fd , getpid ());
2668+ // fprintf(stderr, "rb_notify_fd_close(%d) pid=%d\n", fd, getpid());
26692669 rb_vm_t * vm = GET_THREAD ()-> vm ;
26702670 struct waiting_fd * wfd = 0 , * next ;
26712671 ccan_list_head_init (& busy -> pending_fd_users );
@@ -2689,7 +2689,7 @@ rb_notify_fd_close(int fd, struct rb_io_close_wait_list *busy)
26892689 if (th -> scheduler != Qnil ) {
26902690 rb_fiber_scheduler_fiber_interrupt (th -> scheduler , rb_fiberptr_self (ec -> fiber_ptr ), error );
26912691 } else {
2692- fprintf (stderr , "rb_notify_fd_close: Interrupting thread %p\n" , (void * )th );
2692+ // fprintf(stderr, "rb_notify_fd_close: Interrupting thread %p\n", (void *)th);
26932693 rb_threadptr_pending_interrupt_enque (th , error );
26942694 rb_threadptr_interrupt (th );
26952695 }
0 commit comments