MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / stopControlThread

Method stopControlThread

switch/source/mtpusb.cpp:511–521  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

509 }
510
511 void UsbInterface::stopControlThread(void)
512 {
513 if (!mCtrlThreadValid) {
514 return;
515 }
516
517 mCtrlRunning.store(false);
518 threadWaitForExit(&mCtrlThread);
519 threadClose(&mCtrlThread);
520 mCtrlThreadValid = false;
521 }
522
523 void UsbInterface::controlThreadEntry(void* self)
524 {

Callers

nothing calls this directly

Calls 1

storeMethod · 0.80

Tested by

no test coverage detected