summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadqextractfifo.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/threadqextractfifo.c')
-rw-r--r--cpukit/score/src/threadqextractfifo.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/score/src/threadqextractfifo.c b/cpukit/score/src/threadqextractfifo.c
index 145bf314a3..f7ecf3e270 100644
--- a/cpukit/score/src/threadqextractfifo.c
+++ b/cpukit/score/src/threadqextractfifo.c
@@ -2,7 +2,7 @@
* Thread Queue Handler
*
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2006.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -58,6 +58,8 @@ void _Thread_queue_Extract_fifo(
_Chain_Extract_unprotected( &the_thread->Object.Node );
+ the_thread->Wait.queue = NULL;
+
if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {
_ISR_Enable( level );
} else {