MCPcopy Create free account
hub / github.com/Haivision/srt / startGarbageCollector

Method startGarbageCollector

srtcore/api.cpp:256–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256bool srt::CUDTUnited::startGarbageCollector()
257{
258
259 ScopedLock guard(m_GCStartLock);
260 if (!m_bGCStatus)
261 {
262 m_bClosing = false;
263 m_bGCStatus = StartThread(m_GCThread, garbageCollect, this, "SRT:GC");
264 }
265 return m_bGCStatus;
266}
267
268void srt::CUDTUnited::stopGarbageCollector()
269{

Callers

nothing calls this directly

Calls 1

StartThreadFunction · 0.85

Tested by

no test coverage detected