KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I found this: Fast interprocess synchronization method I used to believe that a pthread mutex can only be shared between two threads in the same address space . The question / answers there seems to imply: If I have two separate proceses A & B. They have a shared memory region M. I can put a pThread mutex in M, lock in A, lock in B, unlock in A; and B will no longer block on the mutex. Is this correct? Can pThread mutexes be shared in two separate processes? Edit: I'm using C++, on MacOSX.
Tags (comma-separated)
Save Edits
Cancel