From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <97568432014035.tru64-unix-managers.marc@archive.invalid> From: Andreas Birkholz Date: Fri, 01 Dec 2000 15:17:09 +0000 To: tru64-unix-managers Subject: IPC mutex X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=97568432014035 Hello, I have a set of Solaris programs that use IPC mutexes (mutexes that are stored in a file and mapped via mmap into memory) to synchronise. Now I have to port it to Tru64 and pthread_mutex_init() gives error code 78 if PTHREAD_PROCESS_SHARED is set in the pthread_mutexattr_t structure. If I don't set PTHREAD_PROCESS_SHARED the first process locks the mutex but the second process wait forever then (even if process 1 unlocked the mutex). What's wrong here? Is there a possibility to synchronise different processes under Tru64? Thank you, Andreas Birkholz -- ----------------------------------------------------------------------- Andreas Birkholz ALCATEL SEL AG Department: VB/EAF-1 (MeasServ, OSI/X25 Design) Colditzstr. 34-36 Phone: +49-30-7002 3425 12099 Berlin mailto:A.Birkholz@alcatel.de Germany -----------------------------------------------------------------------