thread detach 완성
This commit is contained in:
@@ -41,6 +41,7 @@ public:
|
||||
~Thread();
|
||||
|
||||
void join();
|
||||
void deatch();
|
||||
|
||||
private:
|
||||
#ifdef _WIN32
|
||||
@@ -48,6 +49,7 @@ private:
|
||||
#elif __linux__
|
||||
pthread_t handle_;
|
||||
#endif
|
||||
bool detached = false;
|
||||
};
|
||||
|
||||
} // namespace Chattr
|
||||
Reference in New Issue
Block a user