Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add comment in empty method body.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 24 Oct 2017 16:57:26 +0000 (18:57 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 24 Oct 2017 16:57:26 +0000 (18:57 +0200)
src/kernel/context/ContextThread.hpp

index f47f59f..36104b3 100644 (file)
@@ -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);
 };