Start the cache thread at high priority, and return true if it’s actually running.
| 119 | |
| 120 | /// Start the cache thread at high priority, and return true if it’s actually running. |
| 121 | bool VideoCacheThread::StartThread() |
| 122 | { |
| 123 | // JUCE’s startThread() returns void, so we launch it and then check if |
| 124 | // the thread actually started: |
| 125 | startThread(Priority::high); |
| 126 | return isThreadRunning(); |
| 127 | } |
| 128 | |
| 129 | /// Stop the cache thread, waiting up to timeoutMs ms. Returns true if it actually stopped. |
| 130 | bool VideoCacheThread::StopThread(int timeoutMs) |
nothing calls this directly
no outgoing calls
no test coverage detected