MCPcopy Create free account
hub / github.com/apache/mesos / synchronized

Method synchronized

src/linux/ns.hpp:275–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273 void put(T&& t)
274 {
275 synchronized (mutex) {
276 queue.push(std::forward<T>(t));
277 cond.notify_one();
278 }
279 }
280
281 // NOTE: This function blocks the thread. It returns the oldest

Callers

nothing calls this directly

Calls 6

synchronized_waitFunction · 0.85
NoneClass · 0.85
SomeFunction · 0.85
pushMethod · 0.80
emptyMethod · 0.45
swapMethod · 0.45

Tested by

no test coverage detected