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

Class ThreadLocalOptions

src/brpc/server.h:432–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

430 typedef butil::FlatMap<std::string, MethodProperty> MethodMap;
431
432 struct ThreadLocalOptions {
433 bthread_key_t tls_key;
434 const DataFactory* thread_local_data_factory;
435
436 ThreadLocalOptions()
437 : tls_key(INVALID_BTHREAD_KEY)
438 , thread_local_data_factory(NULL) {}
439 };
440
441public:
442 Server(ProfilerLinker = ProfilerLinker());

Callers 1

StartInternalMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected