From owner-cvs-all Sun Oct 6 1:43:38 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A34537B401; Sun, 6 Oct 2002 01:43:37 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B0B443E4A; Sun, 6 Oct 2002 01:43:37 -0700 (PDT) (envelope-from ume@FreeBSD.org) Received: from freefall.freebsd.org (ume@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g968haCo081588; Sun, 6 Oct 2002 01:43:36 -0700 (PDT) (envelope-from ume@freefall.freebsd.org) Received: (from ume@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g968haUU081587; Sun, 6 Oct 2002 01:43:36 -0700 (PDT) Message-Id: <200210060843.g968haUU081587@freefall.freebsd.org> From: Hajimu UMEMOTO Date: Sun, 6 Oct 2002 01:43:36 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/net getaddrinfo.c name6.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ume 2002/10/06 01:43:36 PDT Modified files: lib/libc/net getaddrinfo.c name6.c Log: 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_*(). Requested by: many people Revision Changes Path 1.34 +22 -1 src/lib/libc/net/getaddrinfo.c 1.29 +19 -0 src/lib/libc/net/name6.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message