pub fn set_global(dog: Arc<MemWatchdog>) -> Arc<MemWatchdog> ⓘExpand description
Replace the process-wide watchdog — what a test does to put a fake
/proc/meminfo under a real store. Returns the previous one so the test
can put it back.
pub fn set_global(dog: Arc<MemWatchdog>) -> Arc<MemWatchdog> ⓘReplace the process-wide watchdog — what a test does to put a fake
/proc/meminfo under a real store. Returns the previous one so the test
can put it back.