core: fix typos

This commit is contained in:
Kaspar Schleiser 2019-10-23 21:21:04 +02:00
parent 2cf3cb3b52
commit 9dfcabf0d8
4 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@
* @{ * @{
* *
* @file * @file
* @brief prototypes for kernel intitialization * @brief prototypes for kernel initialization
* *
* @author Oliver Hahm <oliver.hahm@inria.fr> * @author Oliver Hahm <oliver.hahm@inria.fr>
* @author Kaspar Schleiser <kaspar@schleiser.de> * @author Kaspar Schleiser <kaspar@schleiser.de>

View File

@ -149,7 +149,7 @@ int sched_run(void);
void sched_set_status(thread_t *process, thread_status_t status); void sched_set_status(thread_t *process, thread_status_t status);
/** /**
* @brief Yield if approriate. * @brief Yield if appropriate.
* *
* @details Either yield if other_prio is higher than the current priority, * @details Either yield if other_prio is higher than the current priority,
* or if the current thread is not on the runqueue. * or if the current thread is not on the runqueue.

View File

@ -12,7 +12,7 @@
* @{ * @{
* *
* @file * @file
* @brief Platform-independent kernel initilization * @brief Platform-independent kernel initialization
* *
* @author Kaspar Schleiser <kaspar@schleiser.de> * @author Kaspar Schleiser <kaspar@schleiser.de>
* *

View File

@ -100,7 +100,7 @@ static int _lock(rmutex_t *rmutex, int trylock)
DEBUG("rmutex %" PRIi16" : I am now holding the mutex\n", thread_getpid()); DEBUG("rmutex %" PRIi16" : I am now holding the mutex\n", thread_getpid());
/* I am holding the recursive mutex */ /* I am holding the recursive mutex */
DEBUG("rmutex %" PRIi16" : settting the owner\n", thread_getpid()); DEBUG("rmutex %" PRIi16" : setting the owner\n", thread_getpid());
/* ensure that owner is written atomically, since others need a consistent value */ /* ensure that owner is written atomically, since others need a consistent value */
atomic_store_explicit(&rmutex->owner, thread_getpid(), memory_order_relaxed); atomic_store_explicit(&rmutex->owner, thread_getpid(), memory_order_relaxed);