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

Method PushBefore

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

Source from the content-addressed store, hash-verified

52 using CallbackAfter = typename AtForkHandler::CallbackAfter;
53
54 CallbackBefore PushBefore(int v) {
55 return [this, v]() {
56 std::lock_guard<std::mutex> lock(mutex_);
57 before_.push_back(v);
58 return v;
59 };
60 }
61
62 CallbackAfter PushParentAfter(int w) {
63 return [this, w](std::any token) {

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected