gctf2023/pwn/flipper/dist/utils/exe2minixfs/Mutex.h

23 lines
417 B
C
Raw Normal View History

2023-11-24 18:11:34 +00:00
// WARNING: You are looking for a different Mutex.h - this one is just for the exe2minixfs tool!
#ifdef EXE2MINIXFS
#pragma once
class Mutex
{
public:
Mutex(const char*){};
Mutex(Mutex const &) = delete;
Mutex &operator=(Mutex const&) = delete;
bool acquireNonBlocking(pointer = 0){return true;};
void acquire(pointer = 0){};
void release(pointer = 0){};
bool isFree(){ return true; };
};
#endif