aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-01-02 14:01:11 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-01-02 14:01:11 +0000
commit04db761f7e787b9f920aa2c264b6133d1b1815ff (patch)
tree5fe525bb05241369d907bc9d7c607424d04bb003 /os/kernel
parentc66db01792f60dfc8af534e2d7fbcb326efb4873 (diff)
downloadChibiOS-04db761f7e787b9f920aa2c264b6133d1b1815ff.tar.gz
ChibiOS-04db761f7e787b9f920aa2c264b6133d1b1815ff.tar.bz2
ChibiOS-04db761f7e787b9f920aa2c264b6133d1b1815ff.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5017 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel')
-rw-r--r--os/kernel/src/chsem.c2
-rw-r--r--os/kernel/src/chthreads.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/os/kernel/src/chsem.c b/os/kernel/src/chsem.c
index 10aee42d3..0ec331b41 100644
--- a/os/kernel/src/chsem.c
+++ b/os/kernel/src/chsem.c
@@ -347,7 +347,7 @@ void chSemAddCounterI(Semaphore *sp, cnt_t n) {
* to use this function.
*
* @param[in] sps pointer to a @p Semaphore structure to be signaled
- * @param[in] spw pointer to a @p Semaphore structure to be wait on
+ * @param[in] spw pointer to a @p Semaphore structure to wait on
* @return A message specifying how the invoking thread has been
* released from the semaphore.
* @retval RDY_OK if the thread has not stopped on the semaphore or the
diff --git a/os/kernel/src/chthreads.c b/os/kernel/src/chthreads.c
index 0be671c16..0df804df7 100644
--- a/os/kernel/src/chthreads.c
+++ b/os/kernel/src/chthreads.c
@@ -233,7 +233,7 @@ tprio_t chThdSetPriority(tprio_t newprio) {
* in the @p THD_STATE_SUSPENDED state.
* @post The specified thread is immediately started or put in the ready
* list depending on the relative priority levels.
- * @note Use this function to start threads created with @p chThdInit().
+ * @note Use this function to start threads created with @p chThdCreateI().
*
* @param[in] tp pointer to the thread
* @return The pointer to the thread.
@@ -388,9 +388,9 @@ void chThdExitS(msg_t msg) {
* The memory used by the exited thread is handled in different ways
* depending on the API that spawned the thread:
* - If the thread was spawned by @p chThdCreateStatic() or by
- * @p chThdInit() then nothing happens and the thread working area
- * is not released or modified in any way. This is the default,
- * totally static, behavior.
+ * @p chThdCreateI() then nothing happens and the thread working
+ * area is not released or modified in any way. This is the
+ * default, totally static, behavior.
* - If the thread was spawned by @p chThdCreateFromHeap() then
* the working area is returned to the system heap.
* - If the thread was spawned by @p chThdCreateFromMemoryPool()