MCPcopy Create free account
hub / github.com/anyrtcIO-Community/anyRTC-RTMP-OpenSource / AutoThread

Method AutoThread

webrtc/base/thread.cc:542–546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

540}
541
542AutoThread::AutoThread() {
543 if (!ThreadManager::Instance()->CurrentThread()) {
544 ThreadManager::Instance()->SetCurrentThread(this);
545 }
546}
547
548AutoThread::~AutoThread() {
549 Stop();

Callers

nothing calls this directly

Calls 2

CurrentThreadMethod · 0.80
SetCurrentThreadMethod · 0.80

Tested by

no test coverage detected