Share via


source_block::initialize_source Method

Initializes the message_propagator within this source_block.

void initialize_source(
   Scheduler * _PScheduler = NULL,
   ScheduleGroup * _PScheduleGroup = NULL
);

Parameters

  • _PScheduler
    The scheduler to be used for scheduling tasks.

  • _PScheduleGroup
    The schedule group to be used for scheduling tasks.

Requirements

Header: agents.h

Namespace: Concurrency

See Also

Reference

source_block Class

Scheduler Class

ScheduleGroup Class