The Detect page of the settings dialog allows you to control which types of error you are interested in.
Thread Lock Checker allows you to detect a variety of different lock usage patterns. Depending on how you use your lock classes you will be interested in different groups of the patterns. Select the checkbox next to the types of usage you want Thread Lock Checker to report.
Detect locked locks
Detect lock usage of the form
CSingleLock lock(§, TRUE);
Detect unlocked locks
Detect lock usage of the form
CSingleLock lock(§, FALSE);
Detect default unlocked locks
Detect lock usage of the form
CSingleLock lock(§);
Detect unknown unlocked locks
Detect lock usage of the form
CSingleLock lock(§, variable);
Detect missing lock variables
Detect lock usage of the form
CSingleLock(§, variable);
Detect other form of lock
Detect an alternate usage of the lock
ACE_Guard<ACE_LOCK>(ACE_LOCK l);
Detect do not use
Detect lock that should not be used
CBadlock();
Click Reset to reset all settings on all pages of the settings dialog.