WaitForClient moved to server, now working.

This commit is contained in:
Ben Vanik
2013-12-20 23:52:47 -08:00
parent 8a7bd7b69a
commit d98d5c855a
7 changed files with 76 additions and 43 deletions

View File

@@ -32,10 +32,14 @@ public:
Emulator* emulator() const { return emulator_; }
bool has_clients();
int Startup();
int BeforeEntry();
void Shutdown();
int WaitForClient();
private:
void AddClient(DebugClient* debug_client);
void RemoveClient(DebugClient* debug_client);
@@ -48,6 +52,7 @@ private:
xe_mutex_t* lock_;
std::vector<DebugClient*> clients_;
HANDLE client_event_;
};