mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5b72a06cbe
commit
ea7af54e73
2 changed files with 1 additions and 6 deletions
|
@ -424,7 +424,7 @@ void rb_exec_end_proc(void);
|
|||
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);
|
||||
|
|
5
thread.c
5
thread.c
|
@ -2197,15 +2197,10 @@ rb_notify_fd_close(int fd)
|
|||
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
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue