summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/recorder/resize.c2
-rw-r--r--apps/recorder/resize.h2
-rw-r--r--firmware/thread.c6
3 files changed, 6 insertions, 4 deletions
diff --git a/apps/recorder/resize.c b/apps/recorder/resize.c
index 563d69f..46c57bc 100644
--- a/apps/recorder/resize.c
+++ b/apps/recorder/resize.c
@@ -5,7 +5,7 @@
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
* \/ \/ \/ \/ \/
- * $Id
+ * $Id$
*
* Copyright (C) 2008 by Akio Idehara, Andrew Mahone
*
diff --git a/apps/recorder/resize.h b/apps/recorder/resize.h
index 133ac50..8a39db5 100644
--- a/apps/recorder/resize.h
+++ b/apps/recorder/resize.h
@@ -5,7 +5,7 @@
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
* \/ \/ \/ \/ \/
- * $Id
+ * $Id$
*
* Copyright (C) 2008 by Akio Idehara
*
diff --git a/firmware/thread.c b/firmware/thread.c
index 377c335..2102c2f 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. */
core_thread_init(CPU);
}
else