Index: src/sphinxstd.cpp --- src/sphinxstd.cpp.orig +++ src/sphinxstd.cpp @@ -827,13 +827,6 @@ CSphProcessSharedMutex::CSphProcessSharedMutex ( int i m_sError.SetSprintf ( "pthread_mutexattr_init, errno=%d", iRes ); return; } - iRes = pthread_mutexattr_setpshared ( &tAttr, PTHREAD_PROCESS_SHARED ); - if ( iRes ) - { - m_sError.SetSprintf ( "pthread_mutexattr_setpshared, errno = %d", iRes ); - pthread_mutexattr_destroy ( &tAttr ); - return; - } CSphString sError, sWarning; if ( !m_pStorage.Alloc ( sizeof(pthread_mutex_t) + iExtraSize, sError, sWarning ) )