C++ TargetRTS
Loading...
Searching...
No Matches
RTLock.h
1/*******************************************************************************
2 * Licensed Materials - Property of HCL
3 * (c) Copyright HCL Technologies Ltd. 2025. All Rights Reserved.
4 *******************************************************************************/
5#ifndef __RTLock_h__
6#define __RTLock_h__ included
7
8class RTMutex;
9
29class RTLock {
30public:
31 RTLock(RTMutex& mutex);
32 ~RTLock(void);
33
34protected:
35 RTMutex& _mutex;
36
37private:
38 // unavailable methods
39 RTLock(const RTLock&);
40 RTLock& operator=(const RTLock&);
41};
42
43#endif
Special utility class that allows to protect a piece of code from being accessed by multiple executio...
Definition: RTLock.h:29