From owner-freebsd-hackers Mon Feb 5 5:23:36 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.nettoll.com (matrix.nettoll.net [212.155.143.61]) by hub.freebsd.org (Postfix) with ESMTP id 62C7D37B401 for ; Mon, 5 Feb 2001 05:23:19 -0800 (PST) Received: by smtp.nettoll.com; Mon, 5 Feb 2001 14:21:39 +0100 (MET) Message-Id: <4.3.0.20010205143317.05751cd0@pop.free.fr> X-Sender: usebsd@pop.free.fr X-Mailer: QUALCOMM Windows Eudora Version 4.3 Date: Mon, 05 Feb 2001 14:36:35 +0100 To: "Jeffrey D. Wheelhouse" , freebsd-hackers@freebsd.org From: mouss Subject: Re: POSIX mutexes on FreeBSD Cc: jdw_list@wwwi.com In-Reply-To: <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 11:20 02/02/01 -0800, Jeffrey D. Wheelhouse wrote: >Hi, > >While porting a project from Solaris to FreeBSD 4.2, I found out that the >existing FreeBSD implementation of POSIX mutexes doesn't support sharing >mutexes between processes. > >In order to get around this, I eventually did my own implementation of >mutexes that works within the uthread framework and supports the >PTHREAD_PROCESS_SHARED attribute. 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. cheers, mouss To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message