MCPcopy Create free account
hub / github.com/dmlc/dmlc-core / joinable

Method joinable

include/dmlc/thread_group.h:224–231  ·  view source on GitHub ↗

! * \brief Check whether the thread is joinable * \return true if the thread is joinable */

Source from the content-addressed store, hash-verified

222 * \return true if the thread is joinable
223 */
224 bool joinable() const {
225 if (thread_.load()) {
226 CHECK_EQ(auto_remove_, false);
227 // be checked by searching the group or exit event.
228 return thread_.load()->joinable();
229 }
230 return false;
231 }
232
233 /*!
234 * \brief Thread join

Callers 3

internal_joinMethod · 0.80
join_allMethod · 0.80
ScopedThreadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected