diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-13 02:14:15 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-13 02:14:15 +0000 |
commit | c617568c53923acdcf7f15589d8705fe80a6f47c (patch) | |
tree | b4805d222d94731cf464fcbfe02febe87a8ff095 /thread.c | |
parent | c279ac36155ccc5015066ae5ca47d7746801aae0 (diff) |
thread.c: rb_thread_fd_close [ci skip]
* thread.c (rb_thread_fd_close): re-define only for abi-check,
abort if called. [ruby-core:80078] [Bug #13304]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -2197,6 +2197,16 @@ rb_notify_fd_close(int fd) return busy; } +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 +} + /* * call-seq: * thr.raise |