I\'m synchronizing reader and writer processes on Linux.
I have 0 or more process (the readers) that need to sleep until they are woken up, read a resource, go back
Have you set the PTHREAD_PROCESS_SHARED attribute on both your condvar and mutex?
For Linux consult the following man
pages:
Methods, types, constants etc. are normally defined in /usr/include/pthread.h
, /usr/include/nptl/pthread.h
.