summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadqenqueuefifo.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-07-11 21:05:12 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-07-11 21:05:12 +0000
commit83df49f697d770276c16af18884e2c4aeb393ab8 (patch)
treea8ad7983ebe4162b4768ab46edc7dd28df93fea0 /cpukit/score/src/threadqenqueuefifo.c
parentfixed system.h: only include ATA/IDE driver, when BSP supports an ide interface (diff)
downloadrtems-83df49f697d770276c16af18884e2c4aeb393ab8.tar.bz2
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/src/threadqenqueuefifo.c')
-rw-r--r--cpukit/score/src/threadqenqueuefifo.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/cpukit/score/src/threadqenqueuefifo.c b/cpukit/score/src/threadqenqueuefifo.c
index 2cd5166356..b4cba6a532 100644
--- a/cpukit/score/src/threadqenqueuefifo.c
+++ b/cpukit/score/src/threadqenqueuefifo.c
@@ -29,13 +29,11 @@
*
* _Thread_queue_Enqueue_fifo
*
- * This routine blocks a thread, places it on a thread, and optionally
- * starts a timeout timer.
+ * This routine places a blocked thread on a FIFO thread queue.
*
* Input parameters:
* the_thread_queue - pointer to threadq
* the_thread - pointer to the thread to block
- * timeout - interval to wait
*
* Output parameters: NONE
*
@@ -45,8 +43,7 @@
void _Thread_queue_Enqueue_fifo (
Thread_queue_Control *the_thread_queue,
- Thread_Control *the_thread,
- Watchdog_Interval timeout
+ Thread_Control *the_thread
)
{
ISR_Level level;