* IPC mutex
@ 2000-12-01 15:17 Andreas Birkholz
0 siblings, 0 replies; only message in thread
From: Andreas Birkholz @ 2000-12-01 15:17 UTC (permalink / raw)
To: tru64-unix-managers
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
-----------------------------------------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-12-01 15:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-01 15:17 IPC mutex Andreas Birkholz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox