名前空間
変種
操作

std::cv_status

提供: cppreference.com
< cpp‎ | thread

Defined in header <condition_variable>
enum class cv_status;
(C++11およびそれ以降)
スコープの列挙std::cv_statusは時限待機がタイムアウトのためかどうかを返すかどうかを説明します.
Original:
The scoped enumeration std::cv_status describes whether a timed wait returned because of timeout or not.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
std::cv_statuswait_forwait_untilstd::condition_variableメソッドとstd::condition_variable_any..によって使用され
Original:
std::cv_status is used by the wait_for and wait_until methods of std::condition_variable and std::condition_variable_any.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] メンバー定数

定数
Original:
Constant
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Explanation
no_timeout
条件変数はnotify_allnotify_one、あるいは不正で目が覚めました
Original:
the condition variable was awakened with notify_all, notify_one, or spuriously
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
timeout
条件変数は、タイムアウト期限で目が覚めた
Original:
the condition variable was awakened by timeout expiration
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] も参照してください

現在のスレッドのブロックを条件変数が目覚めたり、指定されたタイムアウト期間の後にされるまで
Original:
blocks the current thread until the condition variable is woken up or after the specified timeout duration
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数of std::condition_variable) [edit]
現在のスレッドのブロックを条件変数が目覚めたり、指定されたタイムアウト期間の後にされるまで
Original:
blocks the current thread until the condition variable is woken up or after the specified timeout duration
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数of std::condition_variable_any) [edit]
条件変数はウェイクアップされるまで、または指定された時点に達するまで、現在のスレッドをブロックします
Original:
blocks the current thread until the condition variable is woken up or until specified time point has been reached
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数of std::condition_variable) [edit]
条件変数はウェイクアップされるまで、または指定された時点に達するまで、現在のスレッドをブロックします
Original:
blocks the current thread until the condition variable is woken up or until specified time point has been reached
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数of std::condition_variable_any) [edit]