path: root/firmware
diff options
authorMichael Sevakis <>2008-12-10 21:10:34 +0000
committerMichael Sevakis <>2008-12-10 21:10:34 +0000
commit441fca176ab7a84da364724f38ecec1554e7c58b (patch)
tree6b36153a7983eeec93a8f7d321fbc79203a25b5f /firmware
parent72f150139e336f8d2f3a14010ce973a2a6e217de (diff)
Fix a wrong comment in thread.c and mention an alternative approach to inits. Fix a couple headers' Id fields while at it.
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/thread.c b/firmware/thread.c
index 377c3355b4..2102c2f54c 100644
--- a/firmware/thread.c
+++ b/firmware/thread.c
@@ -3123,10 +3123,12 @@ void init_threads(void)
thread->stack = stackbegin;
thread->stack_size = (uintptr_t)stackend - (uintptr_t)stackbegin;
#if NUM_CORES > 1 /* This code path will not be run on single core targets */
- /* Initialize all locking for the slots */
/* Wait for other processors to finish their inits since create_thread
* isn't safe to call until the kernel inits are done. The first
- * threads created in the system must of course be created by CPU. */
+ * threads created in the system must of course be created by CPU.
+ * Another possible approach is to initialize all cores and slots
+ * for each core by CPU, let the remainder proceed in parallel and
+ * signal CPU when all are finished. */