}#ifdefWITH_POSIX_THREAD_PROCESS_SHAREDif(pthread_mutexattr_init(&(lock->mtx_attr)) !=0) {fprintf(stderr,"Error: Could not init mutexattr\n"); }if(pthread_mutexattr_setpshared(&(lock->mtx_attr), PTHREAD_PROCESS_SHARED) !=0) {fprintf(stderr,"Error: Could not set pshared\n"); ...