From owner-freebsd-hackers Mon Feb 5 10:24:14 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from cornelius.home.wwwi.com (adsl-63-199-171-171.dsl.snfc21.pacbell.net [63.199.171.171]) by hub.freebsd.org (Postfix) with ESMTP id 34B5337B401 for ; Mon, 5 Feb 2001 10:23:57 -0800 (PST) Received: from polonius.wwwi.com (adsl-63-199-171-174.dsl.snfc21.pacbell.net [63.199.171.174]) by cornelius.home.wwwi.com (8.10.1/8.10.1) with ESMTP id f15INfh11680; Mon, 5 Feb 2001 10:23:41 -0800 (PST) Message-Id: <4.3.2.7.2.20010205095728.020c0b00@cornelius.home.wwwi.com> X-Sender: jdw_list@cornelius.home.wwwi.com (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Mon, 05 Feb 2001 10:24:01 -0800 To: mouss From: "Jeffrey D. Wheelhouse" Subject: Re: POSIX mutexes on FreeBSD Cc: "Jeffrey D. Wheelhouse" , freebsd-hackers@freebsd.org In-Reply-To: <4.3.0.20010205143317.05751cd0@pop.free.fr> References: <4.3.2.7.2.20010202110620.0220cb98@pop.wwwi.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 02:36 PM 2/5/2001 +0100, mouss wrote: >do you mean that the >"PTHREAD_PROCESS_SHARED", pthread_mutexattr_getpshared and the like do >not currently work? dunno if they were there before, but they are in >current. so you might want to check. _POSIX_THREAD_PROCESS_SHARED is still commented out in /usr/include/sys/unistd.h in -current, and I don't see implementations of these functions in /usr/src/lib/libc_r/uthread, so it appears at first glance that the state of -current is the same as -stable. This functionality does not appear to be implemented in either version. I don't actually run -current, so I can't say for sure. If I'm missing something, please let me know because it would save me a lot of trouble. My point was that the way it would be done seems to differ greatly between -stable and -current, based on the eventual availability of kernel mutexes to user processes. I don't know how far away the glorious future is, so I was wondering if it would be worthwhile for me to do a stopgap implementation in the mean time. If no one has ever noticed that the functionality was missing, the answer may well be "no." Jeff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message