aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/include/chsystypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/rt/include/chsystypes.h')
-rw-r--r--os/rt/include/chsystypes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/os/rt/include/chsystypes.h b/os/rt/include/chsystypes.h
index cf101e0db..9a01a93c4 100644
--- a/os/rt/include/chsystypes.h
+++ b/os/rt/include/chsystypes.h
@@ -63,6 +63,11 @@ typedef uint16_t systime_t;
typedef struct ch_thread thread_t;
/**
+ * @brief Type of a thread reference.
+ */
+typedef thread_t * thread_reference_t;
+
+/**
* @brief Type of a generic threads single link list, it works like a stack.
*/
typedef struct ch_threads_list threads_list_t;