diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-02-17 19:58:46 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-02-17 19:58:46 +0000 |
commit | 3d2f2081cebee2936d8073ab6a55177b6549013e (patch) | |
tree | 1e57283eece612d213add53d785ab5207b7d21af /src/templates/chcore.c | |
parent | 7fe2bf4789935d592c24dbbe2aaba18c34c021cf (diff) | |
download | ChibiOS-3d2f2081cebee2936d8073ab6a55177b6549013e.tar.gz ChibiOS-3d2f2081cebee2936d8073ab6a55177b6549013e.tar.bz2 ChibiOS-3d2f2081cebee2936d8073ab6a55177b6549013e.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@778 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/templates/chcore.c')
-rw-r--r-- | src/templates/chcore.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/templates/chcore.c b/src/templates/chcore.c index 7f64ee35b..9d09784ef 100644 --- a/src/templates/chcore.c +++ b/src/templates/chcore.c @@ -119,9 +119,13 @@ void port_halt(void) { /**
* @brief Performs a context switch between two threads.
+ * @details This is the most critical code in any port, this function
+ * is responsible for the context switch between 2 threads.
*
* @param otp the thread to be switched out
* @param ntp the thread to be switched in
+ * @note The implementation of this code affects <b>directly</b> the context
+ * switch performance so optimize here as much as you can.
*/
void port_switch(Thread *otp, Thread *ntp) {
}
|