HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
onnxruntime::OrtSpinLock Struct Reference

#include <ort_spin_lock.h>

Public Types

using LockState = enum{Locked=0, Unlocked}
 

Public Member Functions

void lock () noexcept
 
bool try_lock () noexcept
 
void unlock () noexcept
 

Detailed Description

Definition at line 13 of file ort_spin_lock.h.

Member Typedef Documentation

using onnxruntime::OrtSpinLock::LockState = enum { Locked = 0, Unlocked }

Definition at line 15 of file ort_spin_lock.h.

Member Function Documentation

void onnxruntime::OrtSpinLock::lock ( )
inlinenoexcept

Definition at line 17 of file ort_spin_lock.h.

bool onnxruntime::OrtSpinLock::try_lock ( )
inlinenoexcept

Definition at line 24 of file ort_spin_lock.h.

void onnxruntime::OrtSpinLock::unlock ( )
inlinenoexcept

Definition at line 28 of file ort_spin_lock.h.


The documentation for this struct was generated from the following file: