Bewerken

Delen via


STOR_GROUP_AFFINITY structure (storport.h)

The STOR_GROUP_AFFINITY structure specifies a group number and the processor affinity within that group.

Syntax

typedef struct _STOR_GROUP_AFFINITY {
  STOR_AFFINITY Mask;
  USHORT        Group;
  USHORT        Reserved[3];
} STOR_GROUP_AFFINITY, *PSTOR_GROUP_AFFINITY;

Members

Mask

A STOR_AFFINITY value that specifies the affinity mask. The bits in the affinity mask identify a set of processors within the group identified by Group.

Group

Specifies the group number.

Reserved[3]

Reserved for future use. Set all three Reserved array elements to zero.

Remarks

A STOR_GROUP_AFFINITY structure describes a thread affinity, which is a set of processors on which a thread is allowed to run. Mask contains an affinity mask that identifies the processors in the set. All of the processors in this set belong to the group that is identified by the Group member of the structure.

The StorPortSetSystemGroupAffinityThread and StorPortRevertToUserGroupAffinityThread routines use STOR_GROUP_AFFINITY structures to specify thread affinities.

Requirements

Requirement Value
Minimum supported server Windows Server 2022
Header storport.h

See also

StorPortRevertToUserGroupAffinityThread

StorPortSetSystemGroupAffinityThread