--- /dev/null
+#include "LazyGuy.hpp"\r
+#include <Host.hpp>\r
+\r
+#include <iostream>\r
+using namespace std;\r
+\r
+MSG_IMPLEMENT_DYNAMIC(LazyGuy, Process);\r
+\r
+int LazyGuy::main(int argc, char** argv)\r
+{\r
+ cout <<"[" << getName() << ":" << getHost().getName() << "] " << "Hello !" << endl;\r
+ \r
+ cout <<"[" << getName() << ":" << getHost().getName() << "] " << "Nobody's watching me ? Let's go to sleep." << endl;\r
+ \r
+ Process::currentProcess().suspend();\r
+ \r
+ cout <<"[" << getName() << ":" << getHost().getName() << "] " << "Uuuh ? Did somebody call me ?" << endl;\r
+ cout <<"[" << getName() << ":" << getHost().getName() << "] " << "Mmmh, goodbye now." << endl; \r
+\r
+\r
+ delete this;\r
+\r
+ return 0;\r
+}
\ No newline at end of file