Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
snake_case VirtualMachineImpl
[simgrid.git] / src / kernel / context / ContextThread.hpp
index f47f59f..413afd6 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2009-2017. The SimGrid Team.
+/* Copyright (c) 2009-2018. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -40,8 +40,8 @@ private:
 
   void start();                // match a call to release()
   void yield();                // match a call to yield()
-  virtual void start_hook() {} // called after start()
-  virtual void yield_hook() {} // called before yield()
+  virtual void start_hook() { /* empty placeholder, called after start() */}
+  virtual void yield_hook() { /* empty placeholder, called before yield() */}
 
   static void* wrapper(void *param);
 };