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

Method DetachFromThread

src/butil/threading/thread_checker_impl.cc:22–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22void ThreadCheckerImpl::DetachFromThread() {
23 AutoLock auto_lock(lock_);
24 valid_thread_id_ = PlatformThreadRef();
25}
26
27void ThreadCheckerImpl::EnsureThreadIdAssigned() const {
28 AutoLock auto_lock(lock_);

Callers

nothing calls this directly

Calls 1

PlatformThreadRefClass · 0.85

Tested by

no test coverage detected