X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a70186f00cc3977370401b4736aac4e43c5fc689..9dbeb2372ad9a123d0558132ebb6e003e10aa641:/src/mc/mc_process.h diff --git a/src/mc/mc_process.h b/src/mc/mc_process.h index e3513b7739..b357134907 100644 --- a/src/mc/mc_process.h +++ b/src/mc/mc_process.h @@ -4,8 +4,8 @@ /* 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. */ -#ifndef MC_PROCESS_H -#define MC_PROCESS_H +#ifndef SIMGRID_MC_PROCESS_H +#define SIMGRID_MC_PROCESS_H #include @@ -63,6 +63,7 @@ public: Process(pid_t pid, int sockfd); ~Process(); + bool is_self() const { return this->process_flags & MC_PROCESS_SELF_FLAG;