From bf4412791a48b391295ec03e314b42fc49b4b567 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 24 Oct 2017 18:57:26 +0200 Subject: [PATCH] Add comment in empty method body. --- src/kernel/context/ContextThread.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kernel/context/ContextThread.hpp b/src/kernel/context/ContextThread.hpp index f47f59f3af..36104b3a36 100644 --- a/src/kernel/context/ContextThread.hpp +++ b/src/kernel/context/ContextThread.hpp @@ -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); }; -- 2.20.1