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

Method synchronized

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

NOTE: even though `filter` is atomic we still need to synchronize updating it because once we return from this function the old filter might get deleted which could be bad if a thread is currently using the old filter in `ProcessManager::resume`.

Source from the content-addressed store, hash-verified

419 // a thread is currently using the old filter in
420 // `ProcessManager::resume`.
421 synchronized (filter_mutex) {
422 filter.store(f);
423 }
424 }
425
426 long workers() const

Callers

nothing calls this directly

Calls 1

storeMethod · 0.65

Tested by

no test coverage detected