condition_variable_any Class

Use the class condition_variable_any to wait for an event that has any mutex type.

class condition_variable_any;

Members

Public Constructors

Name

Description

condition_variable_any::condition_variable_any Constructor

Constructs a condition_variable_any object.

Public Methods

Name

Description

condition_variable_any::notify_all Method

Unblocks all threads that are waiting for the condition_variable_any object.

condition_variable_any::notify_one Method

Unblocks one of the threads that are waiting for the condition_variable_any object.

condition_variable_any::wait Method

Blocks a thread.

condition_variable_any::wait_for Method

Blocks a thread, and sets a time interval after which the thread unblocks.

condition_variable_any::wait_until Method

Blocks a thread, and sets a maximum point in time at which the thread unblocks.

Requirements

Header: condition_variable

Namespace: std

See Also

Reference

<condition_variable>

Other Resources

Header Files