Skip to content

Commit 733f269

Browse files
committed
SimpleThread::join()
1 parent 60bd445 commit 733f269

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

threading/simplethread.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ class SimpleThread
3232
_th.join();
3333
}
3434

35+
inline void join() noexcept {
36+
_th.join();
37+
}
38+
3539
inline bool isRunning() const noexcept {
3640
return _th.joinable();
3741
}

0 commit comments

Comments
 (0)