Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Help! Posix semaphores give wrong value!
@ 1997-06-06  4:00 magrasjc
  0 siblings, 0 replies; only message in thread
From: magrasjc @ 1997-06-06  4:00 UTC (permalink / raw)



Greetings fellow DEC UNIX users,


I am writing some code that uses 3 unnamed POSIX semaphores in
the space of a mapped file to do IPC. The server semaphore is
the middle one (first is critical section access) and is init
to 0. A sem_wait cause the value (as reported by sem_getvalue())
to become a  *large* integer value even when the variable sem_getvalue
is passing at the second paramater(variable's address really)
is deliberately signed. This is on DEC UNIX 3.2 on an alphastation
200 4/100.


Thanks in advance,

J.C. Magras



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-06-06  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-06-06  4:00 Help! Posix semaphores give wrong value! magrasjc

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