diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-07-11 21:05:12 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-07-11 21:05:12 +0000 |
commit | 83df49f697d770276c16af18884e2c4aeb393ab8 (patch) | |
tree | a8ad7983ebe4162b4768ab46edc7dd28df93fea0 /cpukit/score/include/rtems/score/threadq.h | |
parent | e8f5da0d2dff4cd2f39f940d7b1708ff416488fa (diff) |
2006-07-11 Joel Sherrill <joel@OARcorp.com>
PR 1124/rtems
* score/include/rtems/score/threadq.h, score/src/coremutexseize.c,
score/src/coremutexsurrender.c, score/src/threadqenqueue.c,
score/src/threadqenqueuefifo.c, score/src/threadqenqueuepriority.c:
The placement of the changing a thread's priority when using priority
ceiling should be on the successful transfer of the mutex -- not when
the thread tries to acquire. Plus the lack of a dispatch disable
point lead to the potential for a thread timing out and already
having inherited the ceiling priority.
Diffstat (limited to 'cpukit/score/include/rtems/score/threadq.h')
-rw-r--r-- | cpukit/score/include/rtems/score/threadq.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cpukit/score/include/rtems/score/threadq.h b/cpukit/score/include/rtems/score/threadq.h index 86dcbac39b..51ac3377ba 100644 --- a/cpukit/score/include/rtems/score/threadq.h +++ b/cpukit/score/include/rtems/score/threadq.h @@ -143,8 +143,7 @@ Thread_Control *_Thread_queue_Dequeue_priority( */ void _Thread_queue_Enqueue_priority( Thread_queue_Control *the_thread_queue, - Thread_Control *the_thread, - Watchdog_Interval timeout + Thread_Control *the_thread ); /** @brief Thread queue Extract priority @@ -185,8 +184,7 @@ Thread_Control *_Thread_queue_Dequeue_fifo( */ void _Thread_queue_Enqueue_fifo( Thread_queue_Control *the_thread_queue, - Thread_Control *the_thread, - Watchdog_Interval timeout + Thread_Control *the_thread ); /** @brief Thread queue Extract FIFO |