A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MC: rename remote/RemoteClient -> remote/RemoteClientMemory and remove networking...
[simgrid.git]
/
src
/
mc
/
ModelChecker.hpp
diff --git
a/src/mc/ModelChecker.hpp
b/src/mc/ModelChecker.hpp
index 5a4bb2554766fb310116a09b2406274db8cbd7ab..4e75bf58848d76643a09ca4a72ade0dcffb4a24a 100644
(file)
--- a/
src/mc/ModelChecker.hpp
+++ b/
src/mc/ModelChecker.hpp
@@
-25,15
+25,15
@@
class ModelChecker {
std::set<std::string> hostnames_;
// This is the parent snapshot of the current state:
PageStore page_store_{500};
std::set<std::string> hostnames_;
// This is the parent snapshot of the current state:
PageStore page_store_{500};
- std::unique_ptr<RemoteClient> process_;
+ std::unique_ptr<RemoteClient
Memory
> process_;
Checker* checker_ = nullptr;
public:
ModelChecker(ModelChecker const&) = delete;
ModelChecker& operator=(ModelChecker const&) = delete;
Checker* checker_ = nullptr;
public:
ModelChecker(ModelChecker const&) = delete;
ModelChecker& operator=(ModelChecker const&) = delete;
- explicit ModelChecker(std::unique_ptr<RemoteClient> process);
+ explicit ModelChecker(std::unique_ptr<RemoteClient
Memory
> process);
- RemoteClient& process() { return *process_; }
+ RemoteClient
Memory
& process() { return *process_; }
PageStore& page_store()
{
return page_store_;
PageStore& page_store()
{
return page_store_;
@@
-46,10
+46,11
@@
public:
void start();
void shutdown();
void start();
void shutdown();
- void resume(simgrid::mc::RemoteClient& process);
+ void resume(simgrid::mc::RemoteClient
Memory
& process);
void handle_events(int fd, short events);
void wait_for_requests();
void handle_simcall(Transition const& transition);
void handle_events(int fd, short events);
void wait_for_requests();
void handle_simcall(Transition const& transition);
+
XBT_ATTRIB_NORETURN void exit(int status);
bool checkDeadlock();
XBT_ATTRIB_NORETURN void exit(int status);
bool checkDeadlock();
@@
-61,7
+62,6
@@
private:
void setup_ignore();
bool handle_message(const char* buffer, ssize_t size);
void handle_waitpid();
void setup_ignore();
bool handle_message(const char* buffer, ssize_t size);
void handle_waitpid();
- void on_signal(int signo);
public:
unsigned long visited_states = 0;
public:
unsigned long visited_states = 0;