Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_wait
Function · 0.85
None
Class · 0.85
Some
Function · 0.85
push
Method · 0.80
empty
Method · 0.45
swap
Method · 0.45
Tested by
no test coverage detected