MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / WaitForAllRequests

Method WaitForAllRequests

common/HTTPDownloader.cpp:197–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195}
196
197void HTTPDownloader::WaitForAllRequests()
198{
199 std::unique_lock<std::mutex> lock(m_pending_http_request_lock);
200 while (!m_pending_http_requests.empty())
201 {
202 // Don't burn too much CPU.
203 Threading::Sleep(1);
204 LockedPollRequests(lock);
205 }
206}
207
208void HTTPDownloader::LockedAddRequest(Request* request)
209{

Callers 4

DestroyClientMethod · 0.80
LoadStateMethod · 0.80
LoginMethod · 0.80
DownloadCoversMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected