MCPcopy Create free account
hub / github.com/Simple-XX/SimpleKernel / TearDown

Method TearDown

tests/unit_test/task/fixtures/task_test_harness.cpp:34–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34void TaskTestHarness::TearDown() {
35 per_cpu::PerCpuArraySingleton::destroy();
36 // 清除当前线程的环境指针
37 env_state_.ClearCurrentThreadEnvironment();
38
39 // 其他清理
40 env_state_.ClearSwitchHistory();
41}

Callers

nothing calls this directly

Calls 2

ClearSwitchHistoryMethod · 0.80

Tested by

no test coverage detected