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

Method Reset

src/butil/thread_key.h:61–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 bool Valid() const;
60
61 void Reset() {
62 _id = InvalidID;
63 _seq = InitSeq;
64 }
65
66private:
67 size_t _id; // Key id.

Callers 3

ThreadKeyMethod · 0.45
thread_key.cppFile · 0.45
thread_key_deleteFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected