Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Sep 2002 17:59:59 -0700
From:      Alfred Perlstein <alfred@FreeBSD.org>
To:        hackers@freebsd.org
Cc:        deischen@freebsd.org, Garrett Wollman <wollman@lcs.mit.edu>
Subject:   sem_init help?
Message-ID:  <20020919005959.GO86737@elvis.mu.org>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020919005959.GO86737>