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

Method WrapCurrentThread

webrtc/base/thread.cc:109–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107#endif
108
109Thread *ThreadManager::WrapCurrentThread() {
110 Thread* result = CurrentThread();
111 if (NULL == result) {
112 result = new Thread();
113 result->WrapCurrentWithThreadManager(this, true);
114 }
115 return result;
116}
117
118void ThreadManager::UnwrapCurrentThread() {
119 Thread* t = CurrentThread();

Callers 1

Calls 1

Tested by

no test coverage detected