source: rtems/testsuites/smptests/smpatomic08/smpatomic08.scn @ 4238aff

4.115
Last change on this file since 4238aff was 4238aff, checked in by WeiY <wei.a.yang@…>, on 09/01/13 at 10:28:35

add atomic sub, and, or, compare_exchange test cases into smpatomic08

  • Property mode set to 100644
File size: 831 bytes
RevLine 
[79d03e3]1*** TEST SMPATOMIC 8 ***
2=== atomic add test case ==
[e127c4c]3atomic add worker 0 counter: 18583
4atomic add worker 1 counter: 36324
5global counter: expected = 54907, actual = 54907
6=== atomic flag test case ===
7atomic flag worker 0 counter: 7388
8atomic flag worker 1 counter: 17280
9global flag counter: expected = 24668, actual = 24668
[4238aff]10=== atomic sub test case ==
11atomic sub worker 0 counter: 18583
12atomic sub worker 1 counter: 36324
13global counter: expected = 54907, actual = 54907
14=== atomic compare_exchange test case ==
15atomic compare_exchange worker 0 counter: 3467
16atomic compare_exchange worker 1 counter: 19635
17global counter: expected = 23102, actual = 23102
18=== atomic or_and test case ==
19atomic or_and worker 0 counter: 1
20atomic or_and worker 1 counter: 1
21global counter: expected = 3, actual = 3
[79d03e3]22*** END OF TEST SMPATOMIC 8 ***
Note: See TracBrowser for help on using the repository browser.