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

Function synchronized

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

bindFunction · 0.85
exitedFunction · 0.85
ProcessReferenceClass · 0.85
collectFunction · 0.85
OKClass · 0.85
deliverMethod · 0.80
selfMethod · 0.80
pushMethod · 0.80
expiredMethod · 0.80
openMethod · 0.80
recoverMethod · 0.80
terminateFunction · 0.70

Tested by

no test coverage detected