blob: 727d8069bc0f8a16fd279be6ae6873912d41608e [file] [log] [blame]
#include "aos/events/event_loop_runtime.h"
namespace aos {
OnRunForRust::OnRunForRust(EventLoopRuntime *runtime) : runtime_(runtime) {
++runtime->child_count_;
}
OnRunForRust::~OnRunForRust() { --runtime_->child_count_; }
bool OnRunForRust::is_running() const { return runtime_->is_running(); }
} // namespace aos