Why are there two hold commands on the Process menu (part 2)?
Last week's tip explained why there are two hold commands. This week's continues the discussion by giving some examples.
| Held/Release State |
What Can Be Run Using Process > Go |
|
|
This figure shows a process with three threads. Before you do anything, all threads within the process can be run. |
|
|
Select the Process > Hold toggle. The button will be depressed. The blue indicates that you've hold the process.
Nothing will run when you select Process > Go. |
|
|
Go to the Threads menu. Notice that the button next to the Hold command isn't selected. This is because the thread hold state is independent from the process hold state.
Select it. The circle indicate that thread 1 is held. At this time, there are two different holds on thread 1. One is at process level, the other is at thread level.
Nothing will run when you select Process > Go. |
|
|
Go back to the Process menu and reselect the Hold command.
After you select Process > Go, the 2nd and 3rd threads run. |
|
|
Select Process > Release Threads. This releases the hold placed on the first thread by the Thread > Hold command.
After you select Process > Go, all threads run. |
You can find tips that we've already sent out in our Tip Archive
Help us improve these tips!