MCPcopy Create free account
hub / github.com/apache/thrift / getId

Method getId

lib/cpp/src/thrift/concurrency/Thread.h:155–155  ·  view source on GitHub ↗

* Gets the thread's platform-specific ID */

Source from the content-addressed store, hash-verified

153 * Gets the thread's platform-specific ID
154 */
155 Thread::id_t getId() const { return thread_.get() ? thread_->get_id() : std::thread::id(); }
156
157 /**
158 * Gets the runnable object this thread is hosting

Callers 2

addWorkerMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected