MCPcopy Create free account
hub / github.com/3rdparty/libprocess / synchronized

Function synchronized

src/posix/libevent/libevent.cpp:51–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 std::queue<lambda::function<void()>> q;
50
51 synchronized (functions_mutex) {
52 std::swap(q, *functions);
53 }
54
55 while (!q.empty()) {
56 q.front()();

Callers

nothing calls this directly

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected