Compartir a través de


scheduler_ptr Structure (Concurrency Runtime)

Represents a pointer to a scheduler. This class exists to allow the the specification of a shared lifetime by using shared_ptr or just a plain reference by using raw pointer.

struct scheduler_ptr;

Members

Public Constructors

Name

Description

scheduler_ptr::scheduler_ptr Constructor (Concurrency Runtime)

Overloaded. Creates a scheduler pointer from shared_ptr to scheduler

Public Methods

Name

Description

scheduler_ptr::get Method (Concurrency Runtime)

Returns the raw pointer to the scheduler

Public Operators

Name

Description

scheduler_ptr::operator bool Operator (Concurrency Runtime)

Test whether the scheduler pointer is non-null

scheduler_ptr::operator-> Operator (Concurrency Runtime)

Behave like a pointer

Inheritance Hierarchy

scheduler_ptr

Requirements

Header: pplinterface.h

Namespace: concurrency

See Also

Reference

concurrency Namespace