Opened on 07/28/11 at 21:45:31
Last modified on 02/23/24 at 00:33:31
#1860 closed defect (fixed)
posix timing tests: psxtmbarrier02
Reported by: | el.mastin2 | Owned by: | Jennifer Averett |
---|---|---|---|
Priority: | normal | Milestone: | 4.11 |
Component: | test | Version: | 4.11 |
Severity: | normal | Keywords: | |
Cc: | joel.sherrill@… | Blocked By: | |
Blocking: |
Description
Contains these barrier tests:
+ pthread_barrier_wait blocking
The output (--target=sparc-rtems4.11 --enable-rtemsbsp=sis) is:
* POSIX TIME PSXTMBARRIER 02 *
pthread_barrier_wait blocking 218
* END OF POSIX TIME PSXTMBARRIER 02 *
Attachments (1)
Change History (6)
Changed on 07/28/11 at 21:45:31 by el.mastin2
Attachment: | psxtmbarrier02.tar added |
---|
comment:1 Changed on 07/28/11 at 21:45:46 by el.mastin2
Owner: | changed from Joel Sherrill to Jennifer Averett |
---|
comment:2 Changed on 07/29/11 at 14:08:25 by Joel Sherrill
Resolution: | → fixed |
---|---|
Status: | new → closed, joel.sherrill@oarcorp.com |
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.
comment:3 Changed on 11/24/14 at 18:58:28 by Gedare Bloom
Version: | HEAD → 4.11 |
---|
Replace Version=HEAD with Version=4.11 for the tickets with Milestone >= 4.11
comment:4 Changed on 10/10/17 at 06:46:55 by Sebastian Huber
Component: | testing → unspecified |
---|
comment:5 Changed on 02/23/24 at 00:33:31 by Chris Johns
Component: | unspecified → test |
---|
posix timing barrier tests: wait blocking