Project

General

Profile

ยซ Previous | Next ยป 

Revision 84775721

Added by akr (Akira Tanaka) over 16 years ago

  • ext/socket/socket.c (rb_getaddrinfo): use getaddrinfo with GVL if
    getaddrinfo.c/getnameinfo.c is used. They are not thread safe
    because gethostbyname/gethostbyaddr is used.
    (rb_getnameinfo): ditto.

  • extconf.rb: define GETADDRINFO_EMU if getaddrinfo.c/getnameinfo.c is
    used.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e