mirror of
https://github.com/glest/glest-source.git
synced 2025-09-26 23:49:03 +02:00
- attempt to improve issues in the custom menu related to freezing
- modified debug UI display to support multi levels of UI debug info - added more validations to mutexes - improved client sockets to properly be setup as non blocking
This commit is contained in:
@@ -71,10 +71,11 @@ class Mutex {
|
||||
private:
|
||||
SDL_mutex* mutex;
|
||||
int refCount;
|
||||
|
||||
string ownerId;
|
||||
public:
|
||||
Mutex();
|
||||
Mutex(string ownerId="");
|
||||
~Mutex();
|
||||
void setOwnerId(string ownerId) { this->ownerId = ownerId; }
|
||||
void p();
|
||||
void v();
|
||||
int getRefCount() const { return refCount; }
|
||||
|
Reference in New Issue
Block a user