From c57f26bd079d35aa41963c13bd30c9322a99232d Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 30 Jan 2008 14:56:57 +0000 Subject: 2008-01-30 Joel Sherrill * 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. --- cpukit/score/include/rtems/score/threadq.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'cpukit/score/include') 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 -- cgit v1.2.3