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

Method DoStuff

test/thread_checker_unittest.cc:32–34  ·  view source on GitHub ↗

Verifies that it was called on the same thread as the constructor.

Source from the content-addressed store, hash-verified

30
31 // Verifies that it was called on the same thread as the constructor.
32 void DoStuff() {
33 DCHECK(CalledOnValidThread());
34 }
35
36 void DetachFromThread() {
37 ThreadChecker::DetachFromThread();

Callers 3

CallDoStuffOnThreadClass · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected