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

Method install

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 1

filterFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected