Context::ScheduleGroupId 方法

返回当前上下文正在处理的计划组的标识符。

_CRTIMP static unsigned int __cdecl ScheduleGroupId();

返回值

如果当前上下文附加到一个计划程序并且正在某个计划组上工作,那么表示当前上下文正在其上工作的计划组的标识符;否则为值 -1

要求

**标头:**concrt.h

命名空间: 并发

请参见

参考

Context 类

ScheduleGroup 类