summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-01-30 14:56:57 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-01-30 14:56:57 +0000
commitc57f26bd079d35aa41963c13bd30c9322a99232d (patch)
tree586f1339546d8c8b3c9a1d95f88d99aac6061ff5 /cpukit/score/include
parent2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-c57f26bd079d35aa41963c13bd30c9322a99232d.tar.bz2
2008-01-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/Makefile.am, score/include/rtems/score/threadq.h, score/inline/rtems/score/threadq.inl: _Thread_queue_Process_timeout was really too complex to be inlined. * score/src/threadqprocesstimeout.c: New file.
Diffstat (limited to 'cpukit/score/include')
-rw-r--r--cpukit/score/include/rtems/score/threadq.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/threadq.h b/cpukit/score/include/rtems/score/threadq.h
index 2345087c04..d3a7679d7e 100644
--- a/cpukit/score/include/rtems/score/threadq.h
+++ b/cpukit/score/include/rtems/score/threadq.h
@@ -270,6 +270,21 @@ void _Thread_queue_Timeout (
void *ignored
);
+/**
+ * @brief Process Thread Queue Timeout
+ *
+ * This is a shared helper routine which makes it easier to have multiple
+ * object class specific timeout routines.
+ *
+ * @param[in] the_thread is the thread to extract
+ *
+ * @note This method assumes thread dispatching is disabled
+ * and is expected to be called via the processing of
+ * a clock tick.
+ */
+void _Thread_queue_Process_timeout(
+ Thread_Control *the_thread
+);
#ifndef __RTEMS_APPLICATION__
#include <rtems/score/threadq.inl>