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

Method OnCreated

test/brpc_event_dispatcher_unittest.cpp:66–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 , _additional_ref_released(false) {}
65
66 int OnCreated() {
67 count.store(1, butil::memory_order_relaxed);
68 _additional_ref_released = false;
69 g_user_data = this;
70 return 0;
71 }
72
73 void BeforeRecycled() {
74 count.store(0, butil::memory_order_relaxed);

Callers

nothing calls this directly

Calls 1

storeMethod · 0.45

Tested by

no test coverage detected