| 365 | } |
| 366 | |
| 367 | void USBMgr::stopTransferThread() |
| 368 | { |
| 369 | exit_signaled = true; |
| 370 | update_thread.join(); |
| 371 | // Reset the exit signal flag. |
| 372 | // If we don't and we call startTransferThread() again, transferThreadFunc will exit immediately. |
| 373 | exit_signaled = false; |
| 374 | } |
| 375 | |
| 376 | void USBMgr::transferThreadFunc() |
| 377 | { |
nothing calls this directly
no outgoing calls
no test coverage detected