MCPcopy Create free account
hub / github.com/apache/arrow / PushParentAfter

Method PushParentAfter

cpp/src/arrow/util/atfork_test.cc:62–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 }
61
62 CallbackAfter PushParentAfter(int w) {
63 return [this, w](std::any token) {
64 const int* v = std::any_cast<int>(&token);
65 ASSERT_NE(v, nullptr);
66 std::lock_guard<std::mutex> lock(mutex_);
67 parent_after_.emplace_back(*v + w);
68 };
69 }
70
71 CallbackAfter PushChildAfter(int w) {
72 return [this, w](std::any token) {

Callers

nothing calls this directly

Calls 1

emplace_backMethod · 0.80

Tested by

no test coverage detected