/* mc::remote::AppSide: the Application-side of the channel */
-/* Copyright (c) 2015-2020. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2015-2021. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
public:
AppSide();
explicit AppSide(int fd) : channel_(fd) {}
- void handle_messages();
+ void handle_messages() const;
private:
void handle_deadlock_check(const s_mc_message_t* msg) const;
- void handle_continue(const s_mc_message_t* msg) const;
- void handle_simcall(const s_mc_message_simcall_handle_t* message) const;
+ void handle_simcall_execute(const s_mc_message_simcall_handle_t* message) const;
void handle_actor_enabled(const s_mc_message_actor_enabled_t* msg) const;
public:
Channel const& get_channel() const { return channel_; }
Channel& get_channel() { return channel_; }
- XBT_ATTRIB_NORETURN void main_loop();
- void report_assertion_failure();
+ XBT_ATTRIB_NORETURN void main_loop() const;
+ void report_assertion_failure() const;
void ignore_memory(void* addr, std::size_t size) const;
void ignore_heap(void* addr, std::size_t size) const;
void unignore_heap(void* addr, std::size_t size) const;