Export (0) Print
Expand All

agent::agent Constructor

Constructs an agent.

agent();

agent(
   Scheduler& _PScheduler
);

agent(
   ScheduleGroup& _PGroup
);

_PScheduler

The Scheduler object within which the execution task of the agent is scheduled.

_PGroup

The ScheduleGroup object within which the execution task of the agent is scheduled. The Scheduler object used is implied by the schedule group.

The runtime uses the default scheduler if you do not specify the _PScheduler or _PGroup parameters.

Header: agents.h

Namespace: concurrency

Show:
© 2015 Microsoft