X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Finclude%2Fsemaphore.h;h=db0b279b5f461632ca6e865702b83446a67e948e;hb=dd2491a82880ed9b01b5d66b1814d271921797a4;hp=f42da042f89f3496191dde70a6be2de32edc91e6;hpb=abe6c6cf7fac39102e20cd28687b24c67f4952f8;p=tpg%2Facess2.git diff --git a/Kernel/include/semaphore.h b/Kernel/include/semaphore.h index f42da042..db0b279b 100644 --- a/Kernel/include/semaphore.h +++ b/Kernel/include/semaphore.h @@ -32,7 +32,8 @@ struct sSemaphore { /** * \brief Initialise the semaphore * \param Sem Semaphore structure to initialsie - * \param Value Initial value of the semaphore + * \param InitValue Initial value of the semaphore + * \param MaxValue Maximum value for the semaphore * \param Module Module name * \param Name Symbolic name * \note Not always needed, as initialising to 0 is valid, but it is preferred @@ -43,7 +44,7 @@ struct sSemaphore { extern void Semaphore_Init(tSemaphore *Sem, int InitValue, int MaxValue, const char *Module, const char *Name); /** * \brief Acquire items from the semaphore - * \param Semaphore Semaphore structure to use + * \param Sem Semaphore structure to use * \param MaxToTake Maximum number of items to take off the list (if zero, as much as possible is taken) * \return Number of items fetched * \retval 0 Semaphore interrupted (signal/message)