timed_mutex::try_lock_until のメソッド
ブロック mutex の所有権を取得してください。
template<class Clock, class Duration>
bool try_lock_for(const chrono::time_point<Clock, Duration>& Abs_time);
bool try_lock_until(const xtime *Abs_time);
パラメーター
- Abs_time
しきい値の後にメソッドを指定するときは、mutexの所有権を取得しません。
戻り値
メソッドが正常に mutexの所有権を取得true ; それ以外 false。
解説
呼び出し元スレッドが既に mutexを所有している場合、動作は未定義です。
必要条件
ミューテックスのヘッダー:
名前空間: std