diff packages/kernel/current/include/mqueue.inl @ 182:f62680ef1804

Merge from eCos master repository on 2001-09-07-06:43:02-BST
author jlarmour
date Wed, 12 Sep 2001 00:59:17 +0000
parents 6ed91473a1cd
children 678094f34118
line wrap: on
line diff
--- a/packages/kernel/current/include/mqueue.inl
+++ b/packages/kernel/current/include/mqueue.inl
@@ -163,7 +163,7 @@ Cyg_Mqueue::check_this( cyg_assert_class
         if ( qlen != (msgs+freemsgs+busymsgs) )
             goto fail;
 #endif
-        
+
         Cyg_Scheduler::unlock();
 
     }
@@ -218,6 +218,7 @@ Cyg_Mqueue::Cyg_Mqueue( long maxmsgs, lo
 
     // set the last entry in the chain to the start to make the list circular
     qtmp->next = NULL;
+    qtmp->busy = false;
     callback   = NULL;
     q          = NULL;
     free_fn    = qfree;