Context::ScheduleGroupId 方法

傳回內容目前正在處理之排程群組的識別碼。

static unsigned int __cdecl ScheduleGroupId();

傳回值

如果目前的內容已附加到排程器,且依排程群組工作,則會產生目前內容所處理的排程器識別碼,否則會產生值 -1

需求

標頭: concrt.h

Namespace: 並行存取

請參閱

參考

Context 類別

ScheduleGroup 類別