[Bug 1860] posix timing tests: psxtmbarrier02

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Fri Jul 29 15:08:25 UTC 2011


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

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-29 10:08:25 CDT ---
You accidentally left out the sched_yield() in the POSIX_Init() thread.  The
time you had included the start up of each thread including the sched_yield()
call which did a context switch.

A barrier is similar to a mutex or semaphore so the times should be close for
similar operations.

sem_wait - not available, block 685
pthread_barrier_wait – blocking 669

Committing with my changes.  Thanks.

-- 
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