diff --git a/src/sys/mpi/system.c b/src/sys/mpi/system.c index 0f4d4a3..5a571ac 100644 --- a/src/sys/mpi/system.c +++ b/src/sys/mpi/system.c @@ -41,15 +41,14 @@ Description: This function will find a mail box that matches the supplied name - Notes: + Notes: This function is not task-safe! Lock must be done before call. *****************************************************************************************/ static mpi_mbox_t * mpi_findMbox(char *name) { mpi_mbox_t *mbox = 0x0; - + for (mbox = mboxList;mbox;mbox = mbox->next) { if (!strcmp(mbox->name,name)) { - spinUnlock(&mpiSpinLock); return(mbox); } } @@ -257,6 +256,9 @@ /*** $Log$ + Revision 1.4 2004/08/24 05:24:37 reddawg + TCA Is A BONER!!!! + Revision 1.3 2004/08/21 23:47:50 reddawg *** empty log message ***