From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,6c7bdc9a64c0da68,start X-Google-Attributes: gidfee84,public From: magrasjc@texas.net Subject: Help! Posix semaphores give wrong value! Date: 1997/06/06 Message-ID: <3398AA6B.1DE3@texas.net>#1/1 X-Deja-AN: 246656245 Organization: Texas Networking, Inc. Newsgroups: comp.unix.osf.osf1 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