From owner-freebsd-current@FreeBSD.ORG Fri Jan 30 07:20:33 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABB7B16A4CE for ; Fri, 30 Jan 2004 07:20:33 -0800 (PST) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FA4143D1D for ; Fri, 30 Jan 2004 07:20:32 -0800 (PST) (envelope-from rodrigc@crodrigues.org) Received: from h00609772adf0.ne.client2.attbi.com ([66.31.45.197]) by comcast.net (rwcrmhc12) with ESMTP id <2004013015203001400aht9je>; Fri, 30 Jan 2004 15:20:31 +0000 Received: from h00609772adf0.ne.client2.attbi.com (localhost.crodrigues.org [127.0.0.1])i0UFKbNb067988; Fri, 30 Jan 2004 10:20:37 -0500 (EST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost)i0UFKaXx067987; Fri, 30 Jan 2004 10:20:36 -0500 (EST) (envelope-from rodrigc) Date: Fri, 30 Jan 2004 10:20:36 -0500 From: Craig Rodrigues To: Andrey Chernov Message-ID: <20040130152036.GA67964@crodrigues.org> References: <20040130135802.GA57662@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: current@freebsd.org Subject: Re: POSIX semaphores? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2004 15:20:33 -0000 On Fri, Jan 30, 2004 at 09:11:09AM -0500, Daniel Eischen wrote: > On Fri, 30 Jan 2004, Andrey Chernov wrote: > > > Could anybody enlighten me, please? > > > > 1) What is current status of POSIX semaphores? Are they at the production > > quality? Are they better implemented than SYSV ones? > > 2) What is kernel option to turn them on? Why I don't find it in NOTES or > > GENERIC? > > You need option P1003_1B_SEMAPHORES. It's in sys/conf/NOTES. It's also documented in the sem(4) man page. sem(4) documents this option and tells you what to kldload if you haven't enabled this option in the kernel. See: man 4 sem -- Craig Rodrigues http://crodrigues.org rodrigc@crodrigues.org