- 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:
Mark Vejvoda
2011-02-06 07:01:54 +00:00
parent 0380bcdb5d
commit c58e893047
11 changed files with 96 additions and 19 deletions

View File

@@ -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; }