thread/Thread: move code to Run()

This commit is contained in:
Max Kellermann
2017-02-10 22:43:55 +01:00
parent 4bb89b1755
commit 752ff12c37
2 changed files with 24 additions and 14 deletions

View File

@@ -93,6 +93,8 @@ public:
void Join();
private:
void Run();
#ifdef _WIN32
static DWORD WINAPI ThreadProc(LPVOID ctx);
#else