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

Method synchronized

src/event_queue.hpp:114–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112 bool enqueue(Event* event)
113 {
114 synchronized (mutex) {
115 if (comissioned) {
116 events.push_back(event);
117 return true;
118 }
119 }
120
121 return false;
122 }

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected