Biancaa-R commented on code in PR #3412:
URL: https://github.com/apache/nuttx-apps/pull/3412#discussion_r2850706696


##########
testing/ostest/sched_thread_local.c:
##########
@@ -114,6 +114,23 @@ static void *thread_func(void *parameter)
       ASSERT(false);
     }
 
+  printf("thread_func[%d]: TLS addr=%p\n", id, &g_tls_int);
+
+  /* In a broken system, all threads might point to the same static address */
+
+  static void *g_first_thread_addr = NULL;

Review Comment:
   > @Biancaa-R all common code (that needs to work on old microcontrollers) 
should follow the C89. Please read the 
https://nuttx.apache.org/docs/latest/contributing/coding_style.html for more 
info about the NuttX coding style
   
   Sure sir Ill read it and modify accordingly.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to