From f33bf0f8e3b17e4f61ea8dca296524797cb89586 Mon Sep 17 00:00:00 2001 From: Marcus Winter Date: Thu, 18 Feb 2016 09:16:19 +0100 Subject: [PATCH] base_c: embb_spin_lock documentation updated --- base_c/include/embb/base/c/mutex.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/base_c/include/embb/base/c/mutex.h b/base_c/include/embb/base/c/mutex.h index a813c84..dd15c89 100644 --- a/base_c/include/embb/base/c/mutex.h +++ b/base_c/include/embb/base/c/mutex.h @@ -98,9 +98,6 @@ int embb_mutex_init( /** * Waits until the mutex can be locked and locks it. * - * \note This method yields the current thread in regular, - * implementation-defined intervals. - * * \pre \c mutex is initialized \n * If the mutex type is plain, \c mutex must not be locked by the current * thread. @@ -182,6 +179,9 @@ int embb_spin_init( /** * Spins until the spinlock can be locked and locks it. * + * \note This method yields the current thread in regular, + * implementation-defined intervals. + * * \pre \c spinlock is initialized \n * \post If successful, \c spinlock is locked. * \return EMBB_SUCCESS if spinlock could be locked. \n -- libgit2 0.26.0