'is the overhead of PTHREAD_MUTEX_ERRORCHECK mutex type significant over PTHREAD_MUTEX_NORMAL types?

Am trying to understand if the overhead caused by mutex checks for mutex attribute type PTHREAD_MUTEX_ERRORCHECK is significant over the PTHREAD_MUTEX_NORMAL type. I mean, are there any benchmark results or any data available to make this decision in our implementation.

Any references are greatly appreciated.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source