[Bug 26500] Suggestion: throw out custom realization and use pthread_mutex_t