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

Method thread

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

* Gets the thread object that is hosting this runnable object - can return * an empty boost::shared pointer if no references remain on that thread object */

Source from the content-addressed store, hash-verified

47 * an empty boost::shared pointer if no references remain on that thread object
48 */
49 virtual std::shared_ptr<Thread> thread() { return thread_.lock(); }
50
51 /**
52 * Sets the thread that is executing this object. This is only meant for

Callers 3

onClientConnectedMethod · 0.80
newThreadMethod · 0.80
runMethod · 0.80

Implementers 5

JankyRunnablelib/java/src/test/java/org/apache/thri
MultiFetchlib/java/src/main/java/org/apache/thri
Computationlib/java/src/main/java/org/apache/thri
WorkerProcesslib/java/src/main/java/org/apache/thri
Invocationlib/java/src/main/java/org/apache/thri

Calls 1

lockMethod · 0.45

Tested by

no test coverage detected