ruby-changes:45877
From: nobu <ko1@a...>
Date: Mon, 13 Mar 2017 14:30:48 +0900 (JST)
Subject: [ruby-changes:45877] nobu:r57950 (trunk): thread.c: rb_thread_fd_close [ci skip]
nobu 2017-03-13 14:30:44 +0900 (Mon, 13 Mar 2017) New Revision: 57950 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57950 Log: thread.c: rb_thread_fd_close [ci skip] * thread.c (rb_thread_fd_close): remove deprecated. a couple of external libraries used it. [ruby-core:80078] [Bug #13304] Modified files: trunk/include/ruby/intern.h trunk/thread.c Index: include/ruby/intern.h =================================================================== --- include/ruby/intern.h (revision 57949) +++ include/ruby/intern.h (revision 57950) @@ -424,7 +424,7 @@ void rb_exec_end_proc(void); https://github.com/ruby/ruby/blob/trunk/include/ruby/intern.h#L424 void rb_thread_schedule(void); void rb_thread_wait_fd(int); int rb_thread_fd_writable(int); -DEPRECATED(void rb_thread_fd_close(int)); +void rb_thread_fd_close(int); int rb_thread_alone(void); void rb_thread_sleep(int); void rb_thread_sleep_forever(void); Index: thread.c =================================================================== --- thread.c (revision 57949) +++ thread.c (revision 57950) @@ -2197,15 +2197,10 @@ rb_notify_fd_close(int fd) https://github.com/ruby/ruby/blob/trunk/thread.c#L2197 return busy; } -NORETURN(void rb_thread_fd_close(int fd)); void rb_thread_fd_close(int fd) { -#ifdef DONT_USE while (rb_notify_fd_close(fd)); -#else - DEPRECATED_INTERNAL_FEATURE("rb_thread_fd_close"); -#endif } /* -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/