1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:28:12 +00:00

LibThread: Add API to join a thread

This commit is contained in:
Sergey Bugaev 2020-11-24 20:55:37 +03:00 committed by Andreas Kling
parent 3ac0c9b9e7
commit d51173e4c4
2 changed files with 6 additions and 0 deletions

View file

@ -41,6 +41,7 @@ public:
virtual ~Thread();
void start();
void join();
void quit(void* code = 0);
pthread_t tid() const { return m_tid; }