From 3b6423187e643f8d1005d5fca2617a5485bc16b8 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 19 Jul 2013 09:43:11 +0000 Subject: Started renaming the types to follow the _t convention. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@5988 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/kernel/include/chthreads.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'os/kernel/include/chthreads.h') diff --git a/os/kernel/include/chthreads.h b/os/kernel/include/chthreads.h index 800263092..b8ff5693e 100644 --- a/os/kernel/include/chthreads.h +++ b/os/kernel/include/chthreads.h @@ -104,20 +104,20 @@ typedef struct Mutex Mutex; typedef struct { Thread *p_next; /**< @brief Next in the list/queue. */ -} ThreadsList; +} threads_list_t; /** - * @extends ThreadsList + * @extends threads_list_t * * @brief Generic threads bidirectional linked list header and element. */ typedef struct { Thread *p_next; /**< @brief Next in the list/queue. */ Thread *p_prev; /**< @brief Previous in the queue. */ -} ThreadsQueue; +} threads_queue_t; /** - * @extends ThreadsQueue + * @extends threads_queue_t * * @brief Structure representing a thread. * @note Not all the listed fields are always needed, by switching off some @@ -126,9 +126,9 @@ typedef struct { */ struct Thread { Thread *p_next; /**< @brief Next in the list/queue. */ - /* End of the fields shared with the ThreadsList structure. */ + /* End of the fields shared with the threads_list_t structure.*/ Thread *p_prev; /**< @brief Previous in the queue. */ - /* End of the fields shared with the ThreadsQueue structure. */ + /* End of the fields shared with the threads_queue_t structure.*/ tprio_t p_prio; /**< @brief Thread priority. */ struct context p_ctx; /**< @brief Processor context. */ #if CH_USE_REGISTRY || defined(__DOXYGEN__) @@ -215,13 +215,13 @@ struct Thread { /** * @brief Termination waiting list. */ - ThreadsList p_waiting; + threads_list_t p_waiting; #endif #if CH_USE_MESSAGES || defined(__DOXYGEN__) /** * @brief Messages queue. */ - ThreadsQueue p_msgqueue; + threads_queue_t p_msgqueue; /** * @brief Thread message. */ -- cgit v1.2.3