From owner-freebsd-hackers Thu Feb 26 17:26:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA14974 for freebsd-hackers-outgoing; Thu, 26 Feb 1998 17:26:31 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from postman.opengroup.org (postman.opengroup.org [130.105.1.152]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA14963 for ; Thu, 26 Feb 1998 17:26:17 -0800 (PST) (envelope-from k.#nojunk#keithley@opengroup.org) Received: from kaleb.keithley.belmont.ma.us (horizon3.camb.opengroup.org [130.105.39.27]) by postman.opengroup.org (8.8.6/8.8.6) with SMTP id UAA14414 for ; Thu, 26 Feb 1998 20:25:42 -0500 (EST) Message-ID: <34F65CCB.41C67EA6@opengroup.org> Date: Fri, 27 Feb 1998 01:27:23 -0500 From: "Kaleb S. KEITHLEY" Reply-To: kaleb@opengroup.org Organization: The Open Group X-Mailer: Mozilla 3.04Gold (X11; I; FreeBSD 3.0-971225-SNAP i386) MIME-Version: 1.0 To: hackers@FreeBSD.ORG Subject: _POSIX_THREAD_SAFE_FUNCTIONS, but no thread-safe functions Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm looking at a 3.0-971225-SNAP machine, and has _POSIX_THREAD_SAFE_FUNCTIONS defined, but libc_r does not have any of the thread-safe functions, e.g. getpwnam_r, gethostbyname_r, strtok_r, etc. I don't have my pthreads spec here at home, but as I recall, _POSIX_THREAD_SAFE_FUNCTIONS is specified as meaning that the *_r functions are available. I don't believe it means anything WRT to the general thread-safeness of the rest of libc (or libc_r), which by definition should be inherently thread-safe (on the off chance that that's what you thought it meant.) -- Kaleb S. KEITHLEY To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message