From d54cf82d66e4b560723075b64d0308e7537525c9 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Fri, 28 Nov 2014 18:43:06 +0100 Subject: Fixing comment --- demos/modules/gos/threads_advanced/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'demos') diff --git a/demos/modules/gos/threads_advanced/main.c b/demos/modules/gos/threads_advanced/main.c index 4a8195e4..ecb552ab 100644 --- a/demos/modules/gos/threads_advanced/main.c +++ b/demos/modules/gos/threads_advanced/main.c @@ -88,7 +88,9 @@ int main(void) /* Initialize the timer */ gtimerInit(>); - /* Create a static thread from the default heap with normal priority. No parameter passed */ + /* Create a static thread from the default heap with normal priority. + * We pass a the parameter to the thread which tells the thread whether to return or not + */ thd = gfxThreadCreate(NULL, 128, NORMAL_PRIORITY, Thread_function, (void*)&exitThread); /* Start the timer. The callback function will be called once after 2000ms -- cgit v1.2.3