Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Thread Command (Description)
◄Summary► ◄Example► ◄Notes► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
The Thread (~) command specifies the thread or threads to which
CodeView commands apply. You can specify all threads or just a
particular thread. If you do not specify a thread, any commands
you give apply to all threads.
The Thread command also determines which activity the debugger
carries out with the specified thread. For example, you can
execute the thread, freeze its execution, or select it as the
current thread.
If you give the Thread command without any other CodeView
commands, the debugger displays the status of the specified
thread. If you omit both command and specifier, the debugger
displays the status of all threads.
The status display for threads consists of the two fields
thread-id thread-state
in which <thread-id> is an integer and <thread-state> has the
value "runnable" or "frozen." All threads not frozen by CodeView
are displayed as runnable; this includes threads that may be
blocked for reasons that have nothing to do with the debugger,
such as a critical section.
-♦-