With the revival of deadlock analysis (#655), it becomes more and more important that we handle behavior specific to mutex types.
Via pthread_mutexattr_settype there are the following possibilities:
Additionally:
The different mutex types affect multiple features:
- Race detection
- Deadlock detection
- Base and Apron privatization