#include <ort_mutex.h>
Definition at line 127 of file ort_mutex.h.
constexpr onnxruntime::OrtCondVar::OrtCondVar |
( |
| ) |
|
|
defaultnoexcept |
onnxruntime::OrtCondVar::~OrtCondVar |
( |
| ) |
|
|
default |
onnxruntime::OrtCondVar::OrtCondVar |
( |
const OrtCondVar & |
| ) |
|
|
delete |
void onnxruntime::OrtCondVar::notify_all |
( |
| ) |
|
|
inlinenoexcept |
void onnxruntime::OrtCondVar::notify_one |
( |
| ) |
|
|
inlinenoexcept |
void onnxruntime::OrtCondVar::wait |
( |
std::unique_lock< OrtMutex > & |
lk | ) |
|
template<class _Predicate >
void onnxruntime::OrtCondVar::wait |
( |
std::unique_lock< OrtMutex > & |
__lk, |
|
|
_Predicate |
__pred |
|
) |
| |
template<class Rep , class Period >
std::cv_status onnxruntime::OrtCondVar::wait_for |
( |
std::unique_lock< OrtMutex > & |
cond_mutex, |
|
|
const std::chrono::duration< Rep, Period > & |
rel_time |
|
) |
| |
returns cv_status::timeout if the wait terminates when Rel_time has elapsed. Otherwise, the method returns cv_status::no_timeout.
- Parameters
-
cond_mutex | A unique_lock<OrtMutex> object. |
rel_time | A chrono::duration object that specifies the amount of time before the thread wakes up. |
- Returns
- returns cv_status::timeout if the wait terminates when Rel_time has elapsed. Otherwise, the method returns cv_status::no_timeout
Definition at line 168 of file ort_mutex.h.
The documentation for this class was generated from the following file: