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

Function synchronized

3rdparty/libprocess/src/process.cpp:285–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283
284 int id;
285 synchronized (prefixes_mutex) {
286 int& _id = (*prefixes)[prefix];
287 _id += 1;
288 id = _id;
289 }
290 return prefix + "(" + stringify(id) + ")";
291}
292

Callers

nothing calls this directly

Calls 15

exitedFunction · 0.85
ProcessReferenceClass · 0.85
collectFunction · 0.85
mapFunction · 0.85
OKClass · 0.85
deliverMethod · 0.80
atMethod · 0.80
insertMethod · 0.80
pushMethod · 0.80
msMethod · 0.80
terminateFunction · 0.70
foreachFunction · 0.70

Tested by

no test coverage detected