mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Don't use public deprecated functions.
This commit is contained in:
parent
5c752d8589
commit
312000d464
1 changed files with 2 additions and 2 deletions
4
io.c
4
io.c
|
@ -1577,13 +1577,13 @@ rb_wait_for_single_fd(int fd, int events, struct timeval *timeout)
|
||||||
int
|
int
|
||||||
rb_thread_wait_fd(int fd)
|
rb_thread_wait_fd(int fd)
|
||||||
{
|
{
|
||||||
return rb_wait_for_single_fd(fd, RUBY_IO_READABLE, NULL);
|
return io_wait_for_single_fd(fd, RUBY_IO_READABLE, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
rb_thread_fd_writable(int fd)
|
rb_thread_fd_writable(int fd)
|
||||||
{
|
{
|
||||||
return rb_wait_for_single_fd(fd, RUBY_IO_WRITABLE, NULL);
|
return io_wait_for_single_fd(fd, RUBY_IO_WRITABLE, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
VALUE
|
VALUE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue