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

Method install

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

Source from the content-addressed store, hash-verified

412 Future<Response> __processes__(const Request& request);
413
414 void install(Filter* f)
415 {
416 // NOTE: even though `filter` is atomic we still need to
417 // synchronize updating it because once we return from this
418 // function the old filter might get deleted which could be bad if
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
427 {

Callers 2

filterFunction · 0.45
TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.36