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

Method CurrentThread

webrtc/base/thread.cc:78–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78Thread *ThreadManager::CurrentThread() {
79 return static_cast<Thread *>(pthread_getspecific(key_));
80}
81
82void ThreadManager::SetCurrentThread(Thread *thread) {
83 pthread_setspecific(key_, thread);

Callers 3

CurrentMethod · 0.80
AutoThreadMethod · 0.80
~AutoThreadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected