mutex: change 'islocked' to hold Thread pointer