Wait for the thread to exit. * This function will block until the thread has exited. * * If this function is not called before the thread object is destroyed, the * thread itself will continue to run until completion. You will, however, * no longer have the ability to wait for it to exit. */
| 77 | * no longer have the ability to wait for it to exit. |
| 78 | */ |
| 79 | void join() |
| 80 | { |
| 81 | impl_.join(); |
| 82 | } |
| 83 | |
| 84 | private: |
| 85 | detail::thread impl_; |