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
33class RTLock {
34public:
35 RTLock(RTMutex& mutex);
36 ~RTLock(void);
37
38protected:
39 RTMutex& _mutex;
40
41private:
42 // unavailable methods
43 RTLock(const RTLock&);
44 RTLock& operator=(const RTLock&);
45};
46
47#endif
Special utility class that allows to protect a piece of code from being accessed by multiple executio...
Definition: RTLock.h:33