| 254 | } |
| 255 | |
| 256 | bool 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 | |
| 268 | void srt::CUDTUnited::stopGarbageCollector() |
| 269 | { |
nothing calls this directly
no test coverage detected