1
0
EQ2Emu/docs/code/Mutex.md
2025-05-06 09:54:48 -04:00

32 lines
725 B
Markdown

# File: `Mutex.h`
## Classes
- `CriticalSection`
- `Mutex`
- `LockMutex`
## Functions
- `void lock();`
- `void unlock();`
- `bool trylock();`
- `void lock();`
- `void unlock();`
- `bool trylock();`
- `void readlock(const char* function = 0, int32 line = 0);`
- `void releasereadlock(const char* function = 0, int32 line = 0);`
- `bool tryreadlock(const char* function = 0);`
- `void writelock(const char* function = 0, int32 line = 0);`
- `void releasewritelock(const char* function = 0, int32 line = 0);`
- `bool trywritelock(const char* function = 0);`
- `void waitReaders(const char* function = 0, int32 line = 0);`
- `void SetName(string in_name);`
- `void unlock();`
- `void lock();`
## Notable Comments
- /*
- */