By default do not use pthread_lock: only for 16threads use it.