gctf2023/pwn/flipper/dist/utils/exe2minixfs/Mutex.h
2023-11-24 13:11:34 -05:00

23 lines
417 B
C++

// 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