Possible error in coremutex.c

Manuel Coutinho manuel.coutinho at edisoft.pt
Mon May 18 16:08:05 UTC 2009


Sorry...dont have test for this :(

Was just copying that code (strict order mutex) to our version and though
that could be an error...

Thank you for correcting the code so fast :)

> -----Original Message-----
> From: Joel Sherrill [mailto:joel.sherrill at oarcorp.com]
> Sent: Monday, May 18, 2009 3:52 PM
> To: Manuel Coutinho
> Cc: 'Chris Johns'; rtems-users at rtems.com
> Subject: Re: Possible error in coremutex.c
> 
> Manuel Coutinho wrote:
> > Hi
> >
> > Joel, that was the change was thinking about (just add the brackets).
> > :)
> >
> >
> PR1412/cpukit closed. :)
> 
> Did you have a test case to demonstrate this error?  It would
> be nice to get one.
> 
> --joel
> > Kind regards
> > Manuel Coutinho
> >
> >
> >> -----Original Message-----
> >> From: Chris Johns [mailto:chrisj at rtems.org]
> >> Sent: Saturday, May 16, 2009 11:55 AM
> >> To: Joel Sherrill
> >> Cc: Manuel Coutinho; rtems-users at rtems.com
> >> Subject: Re: Possible error in coremutex.c
> >>
> >> Joel Sherrill wrote:
> >>
> >>> If so, my reading of the code agrees with you. I would like to hear
> >>> the opinion of others.
> >>>
> >>>
> >> This looks correct to me. I wonder if this could explain the problems I
> >> had last year when doing the libblock changes and I had the problem
> with
> >> IDLE being changed in priority. Wish I could remember the issue I had.
> >>
> >> Regards
> >> Chris
> >>
> >
> >
> 
> 
> --
> Joel Sherrill, Ph.D.             Director of Research & Development
> joel.sherrill at OARcorp.com        On-Line Applications Research
> Ask me about RTEMS: a free RTOS  Huntsville AL 35805
>    Support Available             (256) 722-9985
> 





More information about the users mailing list