dhold

Holds threads or processes

Format

Holds processes

dhold -process

Holds threads

dhold -thread

Arguments

-process

Holds processes in the current focus. Can be abbreviated to -p.

-thread

Holds threads in the current focus. Can be abbreviated to -t.

Description

The dhold command holds the threads or processes in the current focus. With -thread, the threads in the thread of interest (TOI) are held. With -process, the processes in the focus set are held.

You cannot hold system manager threads. In all cases, holding threads that aren’t part of your program always involves some risk.

Command alias

Alias

Definition

Description

hp

{dhold -process}

Holds the focus process

HP

{f g dhold -process}

Holds all processes in the focus group

ht

{f t dhold -thread}

Holds the focus thread

HT

{f g dhold -thread}

Holds all threads in the focus group

htp

{f p dhold -thread}

Holds all threads in the focus process

Examples

f W HT

Holds all worker threads in the focus group.

f s HP

Holds all processes in the share group.

f $mygroup/ HP

Holds all processes in the group identified by the contents of mygroup.

Related Topics

Hold and Release Processes and Threads

The Processes & Threads View

dunhold