MCPcopy Create free account
hub / github.com/ArduPilot/ardupilot / join

Method join

libraries/AP_HAL_Linux/Thread.cpp:214–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214bool Thread::join()
215{
216 void *ret;
217
218 if (_ctx == 0) {
219 return false;
220 }
221
222 if (pthread_join(_ctx, &ret) != 0 ||
223 (intptr_t)ret != 0) {
224 return false;
225 }
226
227 return true;
228}
229
230
231bool PeriodicThread::set_rate(uint32_t rate_hz)

Callers 4

teardownMethod · 0.45
teardownMethod · 0.45
teardownMethod · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36