From: magrasjc@texas.net
Subject: Help! Posix semaphores give wrong value!
Date: 1997/06/06 [thread overview]
Message-ID: <3398AA6B.1DE3@texas.net> (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
reply other threads:[~1997-06-06 4:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox