Specifying Process and Thread Sets

A set of processes or threads comprises one or more contiguous ranges of process or thread IDs, separated by commas.

  1. To specify a process set, use the following notation:
    [ range {,…} ]
  2. To specify a thread set, use the following notation:
    t:[ range {,…} ]
  3. You can express an empty set with empty brackets:
    [ ]
  4. You can specify process and thread sets using expressions, wildcards and by merging thread sets.

Example

The following example contains the first three threads in the current process.

t:[1,2,3]

The following example specifies a thread set using an expression:

t:[1:3+foo()]

The following example specifies a merged thread set:

t:[*] - t:[1]

The following example contains all the threads in the current process.

t:[*]

The following example contains all the threads in the current process except threads 1 and 6.

t:[2:5, 7:]

See Also


Submit feedback on this help topic

Copyright © 2001-2011, Intel Corporation. All rights reserved.