MCPcopy Create free account
hub / github.com/TheHPXProject/hpx / reset_agent

Method reset_agent

libs/core/execution_base/src/this_thread.cpp:239–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237 } // namespace detail
238
239 reset_agent::reset_agent(
240 detail::agent_storage* storage, agent_base& impl)
241 : storage_(storage)
242 , old_(storage_->set(&impl))
243 {
244 }
245
246 reset_agent::reset_agent(agent_base& impl)
247 : reset_agent(detail::get_agent_storage(), impl)

Callers

nothing calls this directly

Calls 2

get_agent_storageFunction · 0.85
setMethod · 0.45

Tested by

no test coverage detected