From owner-freebsd-hackers Wed Sep 18 18: 0: 1 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CA3437B401; Wed, 18 Sep 2002 18:00:00 -0700 (PDT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E9DD43E3B; Wed, 18 Sep 2002 18:00:00 -0700 (PDT) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id E162FAE216; Wed, 18 Sep 2002 17:59:59 -0700 (PDT) Date: Wed, 18 Sep 2002 17:59:59 -0700 From: Alfred Perlstein To: hackers@freebsd.org Cc: deischen@freebsd.org, Garrett Wollman Subject: sem_init help? Message-ID: <20020919005959.GO86737@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ok, any of you guys have a copy of the standards documents that describe the sem_* API? I have a question... What are the semantics of the sem_init when pshared is set to true? Like, if the process that created the semaphore exits, then what? Is it only valid for the life of the process that did the sem_init? Or am I going to have to do some nastyness to record the memory location where the semaphore is and track that page's allocation? little help here... :) -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message