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`.
| 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 |