From 04db761f7e787b9f920aa2c264b6133d1b1815ff Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 2 Jan 2013 14:01:11 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5017 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/kernel/src/chsem.c | 2 +- os/kernel/src/chthreads.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'os/kernel/src') 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() -- cgit v1.2.3