[Bug 1835] posix timing tests: psxtmmutex07

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Fri Jul 15 19:36:05 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1835

Joel Sherrill <joel.sherrill at oarcorp.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |joel.sherrill at oarcorp.com
         Resolution|                            |FIXED

--- Comment #1 from Joel Sherrill <joel.sherrill at oarcorp.com> 2011-07-15 14:36:05 CDT ---
Please read the init.c I committed.  There were warnings which indicated that
you were not passing in a pointer to a mutex id.  Your test assert did not
check the status because it wasn't set by the call.  The tests were actually
failing but you didn't catch it.

I fixed this in getting rid of the warnings.

psim reports this:

*** POSIX TIME TEST PSXTMMUTEX07 ***
pthread_mutex_getprioceiling 228
pthread_mutex_setprioceiling 466
pthread_mutex_getprioceiling 228
*** END OF POSIX TIME TEST PSXTMMUTEX07 ***

So 228 --> ~4 usecs with 66 Mhz bus clock and 466-> ~7 useconds.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list