Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* msem_lock?
@ 1996-03-22  5:00 Duke Robillard
  1996-03-23  5:00 ` msem_lock? Jens-Uwe Mager
  0 siblings, 1 reply; 2+ messages in thread
From: Duke Robillard @ 1996-03-22  5:00 UTC (permalink / raw)



I've just come across msem_lock() and company in AIX (IBM's UNIX,
for those not in comp.unix.aix). They are apparently some kind 
of fast semaphore, implemented by setting/testing a value in shared
memory (either mmap or shmget shared memory).

I've never seen these before--does anyone know where they came
from?  The doc page mentions OSF's references, and the .h file
has references to Mach and BSD.  They're in the same .h as mmap()
(mman.h), 

Does anyone know how they work?  Like, does msem_lock() spin if
the value is set already, or does it go to sleep (maybe using
msleep()/mwakeup())?  

Thanks in advance.

-- 
Duke Robillard, duke@iscp.bellcore.com



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-03-23  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-03-22  5:00 msem_lock? Duke Robillard
1996-03-23  5:00 ` msem_lock? Jens-Uwe Mager

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox