aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/include
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-09-13 11:24:38 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-09-13 11:24:38 +0000
commit1a2e19d5d6161df4c7b385bc03ed761e0e27e825 (patch)
treedee4b5a33495ffd6f8a8bea55632b32d0ca78edf /os/rt/include
parenta86b48c578db236dddea8f141db7607741d48e57 (diff)
downloadChibiOS-1a2e19d5d6161df4c7b385bc03ed761e0e27e825.tar.gz
ChibiOS-1a2e19d5d6161df4c7b385bc03ed761e0e27e825.tar.bz2
ChibiOS-1a2e19d5d6161df4c7b385bc03ed761e0e27e825.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6299 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/include')
-rw-r--r--os/rt/include/chthreads.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/os/rt/include/chthreads.h b/os/rt/include/chthreads.h
index 6da6b6518..1dcad9b48 100644
--- a/os/rt/include/chthreads.h
+++ b/os/rt/include/chthreads.h
@@ -148,6 +148,17 @@ typedef msg_t (*tfunc_t)(void *);
/** @} */
/**
+ * @name Threads abstraction macros
+ */
+/**
+ * @brief Thread declaration macro.
+ * @note Thread declarations should be performed using this macro because
+ * the port layer could define optimizations for thread functions.
+ */
+#define THD_FUNCTION(tname, arg) PORT_THD_FUNCTION(tname, arg)
+/** @} */
+
+/**
* @name Macro Functions
* @{
*/