MCPcopy Create free account
hub / github.com/chen3feng/toft / TryStart

Method TryStart

system/threading/base_thread.cpp:67–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67bool BaseThread::TryStart()
68{
69 int error = DoStart();
70 if (error == 0)
71 return true;
72 if (error != EAGAIN)
73 TOFT_CHECK_PTHREAD_ERROR(error);
74 return false;
75}
76
77bool BaseThread::DoDetach()
78{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected