MCPcopy Create free account
hub / github.com/amule-project/amule / StopAll

Method StopAll

src/HTTPDownload.cpp:455–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

453
454
455void CHTTPDownloadThread::StopAll()
456{
457 ThreadSet snapshot;
458 {
459 wxMutexLocker lock(s_allThreadsMutex);
460 snapshot = s_allThreads;
461 }
462 for (ThreadSet::iterator it = snapshot.begin(); it != snapshot.end(); ++it) {
463 (*it)->Stop();
464 }
465}
466
467
468CHTTPDownloadThread::ThreadSet CHTTPDownloadThread::s_allThreads;

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
StopMethod · 0.45

Tested by

no test coverage detected