include vmm.inc
mov eax, ThreadInGroup
mov edi, ThreadToAdd
VMMCall Attach_Thread_To_Group
Adds a thread to a thread group. A virtual device creates thread groups so that it can boost the priority of all the threads in the group with a single call to the Set_Group_Static_Boost service. Uses Flags.
If ThreadToAdd already belongs to a group, it is removed from the current group before being added to the new group.
Detach_Thread_From_Group, Set_Group_Static_Boost