Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Schedules a light-weight task within the schedule group.
virtual void ScheduleTask(
TaskProc _Proc,
_Inout_opt_ void * _Data
) =0;
Parameters
_Proc
A pointer to the function to execute to perform the body of the light-weight task._Data
A void pointer to the data that will be passed as a parameter to the body of the task.
Remarks
Calling the ScheduleTask method implicitly places a reference count on the schedule group which is removed by the runtime at an appropriate time after the task executes.
Requirements
Header: concrt.h
Namespace: concurrency