Share via


scheduler_ptr::scheduler_ptr Constructor (Concurrency Runtime)

Creates a scheduler pointer from shared_ptr to scheduler

explicit scheduler_ptr(
   std::shared_ptr<scheduler_interface> scheduler
);

explicit scheduler_ptr(
   _In_opt_ scheduler_interface * pScheduler
);

Parameters

  • scheduler

  • pScheduler

Requirements

Header: pplinterface.h

Namespace: concurrency

See Also

Reference

scheduler_ptr Structure (Concurrency Runtime)