Please enable JavaScript to view this site.

Thread Lock Checker Help

Navigation: Command Line Interface

Command Line Examples

Scroll Prev Top Next More

This section provides some example command lines. For each example we'll break it down, argument by argument so that you can see how the command line works.

 

In all these examples the executable to run is threadLockChecker.exe. You will need to provide the full path to threadLockChecker.exe, or add the path to threadLockChecker install directory to your $PATH.

 

 

Example 1

 

threadLockChecker.exe /dir e:\om\c\ /output e:\test.txt

 

 /dir e:\om\c\

 

 Scan the directory e:\om\c\

 

 /output e:\test.txt

 

 Write the output to e:\test.txt. If there are no errors there will be no output file.

 

 

Example 2

 

threadLockChecker.exe /dir e:\om\c\ /output e:\test.txt /removeAllLockTypes /addLockType CSingleLock

 

 /dir e:\om\c\

 

 Scan the directory e:\om\c\

 

 /output e:\test.txt

 

 Write the output to e:\test.txt. If there are no errors there will be no output file.

 

 /removeAllLockTypes

 

 Remove all existing lock type definitions.

 

 /addLockType CSingleLock

 

 Add one lock type definition so that Thread Lock Checker is checking for just the type CSingleLock

 

 

Example 3

 

threadLockChecker.exe /loadSettings e:\tests\test1\settings.tlc /output e:\test.txt

 

 /loadSettings e:\tests\test1\settings.tlc

 

 Load settings from the file e:\tests\test1\settings.tlc.

 

 /output e:\test.txt

 

 Write the output to e:\test.txt. If there are no errors there will be no output file.

 

 

Example 4

 

threadLockChecker.exe /loadSettings e:\tests\test1\settings.tlc /output e:\test.txt /dir e:\om\c\

 

 /loadSettings e:\tests\test1\settings.tlc

 

 Load settings from the file e:\tests\test1\settings.tlc.

 

 /output e:\test.txt

 

 Write the output to e:\test.txt. If there are no errors there will be no output file.

 

 /dir e:\om\c\

 

 Scan the directory e:\om\c\