diff options
Diffstat (limited to 'src/include/semaphores.h')
-rw-r--r-- | src/include/semaphores.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/include/semaphores.h b/src/include/semaphores.h index 0f1a493d4..da6fcb628 100644 --- a/src/include/semaphores.h +++ b/src/include/semaphores.h @@ -31,10 +31,9 @@ * @brief Semaphore structure.
*/
typedef struct Semaphore {
- /** Queue of the threads sleeping on this Semaphore.*/
- ThreadsQueue s_queue;
- /** The Semaphore counter.*/
- cnt_t s_cnt;
+ ThreadsQueue s_queue; /**< Queue of the threads sleeping on
+ this semaphore.*/
+ cnt_t s_cnt; /**< The semaphore counter.*/
} Semaphore;
#ifdef __cplusplus
|