MCPcopy Create free account
hub / github.com/apache/brpc / OnStop

Method OnStop

test/brpc_rtmp_unittest.cpp:189–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187 }
188
189 void OnStop() {
190 LOG(INFO) << "OnStop of PlayingDummyStream=" << this;
191 if (_state.exchange(STATE_STOPPED) == STATE_PLAYING) {
192 bthread_stop(_play_thread);
193 bthread_join(_play_thread, NULL);
194 }
195 }
196
197 void SendData();
198

Callers

nothing calls this directly

Calls 3

bthread_stopFunction · 0.85
bthread_joinFunction · 0.85
exchangeMethod · 0.45

Tested by

no test coverage detected