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

Function check_tls_block

test/iobuf_unittest.cpp:63–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61const size_t DEFAULT_PAYLOAD = butil::IOBuf::DEFAULT_BLOCK_SIZE - BLOCK_OVERHEAD;
62
63void check_tls_block() {
64 ASSERT_EQ((butil::IOBuf::Block*)NULL, butil::iobuf::get_tls_block_head());
65 printf("tls_block of butil::IOBuf was deleted\n");
66}
67const int ALLOW_UNUSED check_dummy = butil::thread_atexit(check_tls_block);
68
69static butil::FlatSet<void*> s_set;

Callers

nothing calls this directly

Calls 1

get_tls_block_headFunction · 0.85

Tested by

no test coverage detected