lego1: implement MxTimer + dependencies

This commit is contained in:
Thomas May
2023-06-14 01:22:42 +01:00
parent 0827ca8040
commit a925aec046
16 changed files with 296 additions and 9 deletions

15
LEGO1/mxautolocker.h Normal file
View File

@@ -0,0 +1,15 @@
#ifndef MXAUTOLOCKER_H
#define MXAUTOLOCKER_H
#include "mxcriticalsection.h"
class MxAutoLocker
{
public:
MxAutoLocker(MxCriticalSection* cs);
virtual ~MxAutoLocker();
private:
MxCriticalSection* m_criticalSection;
};
#endif // MXAUTOLOCKER_H