Added functions to compare TAS and TTAS locks