* src/threads/lock-common.h: Changed signature of most locking functions to