mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-21 00:23:16 +00:00
@ -19,5 +19,4 @@
|
|||||||
|
|
||||||
|
|
||||||
void Genode::init_heartbeat_monitoring(Env &) { }
|
void Genode::init_heartbeat_monitoring(Env &) { }
|
||||||
void Genode::deinit_heartbeat_monitoring() { }
|
|
||||||
|
|
||||||
|
@ -47,7 +47,6 @@ namespace Genode {
|
|||||||
void init_thread(Cpu_session &, Region_map &);
|
void init_thread(Cpu_session &, Region_map &);
|
||||||
void init_thread_start(Capability<Pd_session>);
|
void init_thread_start(Capability<Pd_session>);
|
||||||
void init_thread_bootstrap(Cpu_session &, Thread_capability);
|
void init_thread_bootstrap(Cpu_session &, Thread_capability);
|
||||||
void deinit_heartbeat_monitoring();
|
|
||||||
void exec_static_constructors();
|
void exec_static_constructors();
|
||||||
|
|
||||||
void cxx_demangle(char const*, char*, size_t);
|
void cxx_demangle(char const*, char*, size_t);
|
||||||
|
@ -59,13 +59,3 @@ void Genode::init_heartbeat_monitoring(Env &env)
|
|||||||
_heartbeat_handler_ptr = unmanaged_singleton<Constructible<Heartbeat_handler>>();
|
_heartbeat_handler_ptr = unmanaged_singleton<Constructible<Heartbeat_handler>>();
|
||||||
_heartbeat_handler_ptr->construct(env);
|
_heartbeat_handler_ptr->construct(env);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void Genode::deinit_heartbeat_monitoring()
|
|
||||||
{
|
|
||||||
if (!_heartbeat_handler_ptr)
|
|
||||||
return;
|
|
||||||
|
|
||||||
_heartbeat_handler_ptr->destruct();
|
|
||||||
_heartbeat_handler_ptr = nullptr;
|
|
||||||
}
|
|
||||||
|
Reference in New Issue
Block a user