Date: Tue, 22 Oct 2002 08:08:29 -0700 (PDT) From: Hajimu UMEMOTO <ume@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/net getaddrinfo.c name6.c Message-ID: <200210221508.g9MF8TMn005444@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ume 2002/10/22 08:08:29 PDT
Modified files: (Branch: RELENG_4)
lib/libc/net getaddrinfo.c name6.c
Log:
MFC: Put giant locks due to make getaddrinfo(), getnameinfo()
and getipnodeby*() thread-safe.
Our res_*() is not thread-safe. So, we share lock between
getaddrinfo() and getipnodeby*(). Still, we cannot use
getaddrinfo() and getipnodeby*() in conjunction with other
functions which call res_*().
lib/libc/net/getaddrinfo.c: 1.34
lib/libc/net/name6.c: 1.29
Revision Changes Path
1.9.2.13 +22 -1 src/lib/libc/net/getaddrinfo.c
1.6.2.8 +25 -2 src/lib/libc/net/name6.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210221508.g9MF8TMn005444>
