Project

General

Profile

« Previous | Next » 

Revision 10176

  • rubyio.h (rb_io_set_nonblock): declared.

  • io.c (rb_io_set_nonblock): new function.
    (io_getpartial): nonblocking read support.
    (io_read_nonblock): new method: IO#read_nonblock.
    (io_write_nonblock): new method: IO#write_nonblock.

  • ext/socket/socket.c
    (sock_connect_nonblock): new method: Socket#connect_nonblock.
    (sock_accept_nonblock): new method: Socket#accept_nonblock.
    (sock_recvfrom_nonblock): new method: Socket#recvfrom_nonblock.