This is the HoloLens version of a critical section. 更多...
#include <HoloLensCriticalSection.h>
Public 成员函数 | |
| FORCEINLINE | FHoloLensCriticalSection () |
| Constructor that initializes the aggregated critical section | |
| FORCEINLINE void | Lock () |
| Locks the critical section | |
| FORCEINLINE bool | TryLock () |
| Attempt to take a lock and returns whether or not a lock was taken. 更多... | |
| FORCEINLINE void | Unlock () |
| Releases the lock on the critical seciton | |
| FORCEINLINE | ~FHoloLensCriticalSection () |
| Destructor cleaning up the critical section | |
This is the HoloLens version of a critical section.
It uses an aggregate CRITICAL_SECTION to implement its locking.
|
inline |
Attempt to take a lock and returns whether or not a lock was taken.