From: Andreas Birkholz <A.Birkholz () alcatel ! de>
To: tru64-unix-managers
Subject: IPC mutex
Date: Fri, 01 Dec 2000 15:17:09 +0000 [thread overview]
Message-ID: <97568432014035.tru64-unix-managers.marc@archive.invalid> (raw)
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
-----------------------------------------------------------------------
reply other threads:[~2000-12-01 15:17 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