Reuses infrastructure from previous pthread_mutex_lock benchmarks to test other performance sensitive functions.