CodeView (cv.hlp) (Table of Contents; Topic list)
Debug Multiple Threads (CVP Only)
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     OS/2, versions 1.10 and later, supports multithread programs.
     Currently, programs written with Microsoft C, FORTRAN, Pascal,
     and Macro Assembler (MASM) can have more than one thread.
 
     CVP.EXE, the protected-mode version of CodeView, can debug
     multithread programs.
 
     In a multithread program, you can select the thread or threads
     affected by debugger commands by
 
        ■ Choosing the Thread command from the Run menu
       OR
        ■ Entering the debugger commands as part of the
          Thread (~) commands in the command window
 
     You can control execution of the selected thread in much the same
     way you control normal program execution. You can also freeze a
     thread so that it cannot run in the background, or you can
     unfreeze a frozen thread.
 
     To freeze or unfreeze a thread:
 
        ■ Choose the Thread command from the Run menu, select a
          thread, and then select the <Freeze> or <Unfreeze> option
 
        ■ Enter the Thread Freeze (~F) command or the
          Thread Unfreeze (~U) command in the command window
                                    -♦-