diff options
Diffstat (limited to 'cpukit/score/src/coremsgsubmit.c')
-rw-r--r-- | cpukit/score/src/coremsgsubmit.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/score/src/coremsgsubmit.c b/cpukit/score/src/coremsgsubmit.c index b0b4833640..3fc4f4ccd6 100644 --- a/cpukit/score/src/coremsgsubmit.c +++ b/cpukit/score/src/coremsgsubmit.c @@ -130,7 +130,11 @@ CORE_message_queue_Status _CORE_message_queue_Submit( executing->Wait.count = submit_type; _ISR_Enable( level ); - _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout ); + _Thread_queue_Enqueue( + &the_message_queue->Wait_queue, + executing, + timeout + ); } return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT; |