Subj : Re: share a exclusive resource between the threads inside the different processes To : comp.programming.threads From : loic-dev Date : Thu Mar 24 2005 07:38 am Hallo Hank, > So far as I know the mutex PTHREAD_PROCESS_SHARED attribute was not > implemented, right? No? AFAIK, PTHREAD_PROCESS_SHARED has been introduced with NPTL, which was first officially shipped with Red-Hat v9.0 > so how can I share the POSIX mutex object between the processes? Try pshared mutex. > shmop(...)?, mmap(..)? or .... > It good for me if the process dies, the lock is released. ^_^ If pshared mutex are not avalaible, I would consider file locking. Would be that an option for you? Cheers, Loic. .