MCPcopy Create free account
hub / github.com/Barracuda09/SATPI / terminateThread

Method terminateThread

src/base/ThreadBase.h:79–84  ·  view source on GitHub ↗

Terminate this thread, if the thread did not stop within the timeout it will be cancelled

Source from the content-addressed store, hash-verified

77 /// Terminate this thread, if the thread did not stop within the
78 /// timeout it will be cancelled
79 void terminateThread() {
80 if (_run) {
81 stopThread();
82 joinThread();
83 }
84 }
85
86 /// Stop the running thread give 5.0 sec to stop else cancel it
87 void stopThread();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected