共用方式為


event Class

A manual reset event which is explicitly aware of the Concurrency Runtime.

class event;

Members

Public Constructors

Name

Description

event::~event Destructor

Destroys an event.

Public Methods

Name

Description

event::reset Method

Resets the event to a non-signaled state.

event::set Method

Signals the event.

event::wait Method

Waits for the event to become signaled.

event::wait_for_multiple Method

Waits for multiple events to become signaled.

Public Constants

Name

Description

event::timeout_infinite Constant

Value indicating that a wait should never time out.

Remarks

For more information, see Synchronization Data Structures.

Inheritance Hierarchy

event

Requirements

Header: concrt.h

Namespace: concurrency

See Also

Reference

concurrency Namespace