| 90 | */ |
| 91 | |
| 92 | void Thread::Join() |
| 93 | { |
| 94 | #if NAZARA_CORE_SAFE |
| 95 | if (!m_impl) |
| 96 | { |
| 97 | NazaraError("This thread is not joinable"); |
| 98 | return; |
| 99 | } |
| 100 | #endif |
| 101 | |
| 102 | m_impl->Join(); |
| 103 | delete m_impl; |
| 104 | m_impl = nullptr; |
| 105 | } |
| 106 | |
| 107 | /*! |
| 108 | * \brief Changes the debugging name associated to a thread |
no outgoing calls
no test coverage detected