source: rtems/testsuites/smptests/smpthreadpin01/smpthreadpin01.scn @ 7097962

5
Last change on this file since 7097962 was 7097962, checked in by Sebastian Huber <sebastian.huber@…>, on 08/29/18 at 07:43:44

score: Add thread pin/unpin support

Add support to temporarily pin a thread to its current processor. This
may be used to access per-processor data structures in critical sections
with enabled thread dispatching, e.g. a pinned thread is allowed to
block.

Update #3508.

  • Property mode set to 100644
File size: 1.4 KB
Line 
1*** BEGIN OF TEST SMPTHREADPIN 1 ***
2*** TEST VERSION: 5.0.0.2d1c3dff12bbbfec63997985f11bc80edfc1e994
3*** TEST STATE: EXPECTED-PASS
4*** TEST BUILD: RTEMS_SMP
5*** TEST TOOLS: 7.3.0 20180125 (RTEMS 5, RSB 9670d7541e0621915e521fe76e7bb33de8cee661, Newlib d13c84eb07e35984bf7a974cd786a6cdac29e6b9)
6test simple wait unpin (run 1)
7test pin wait unpin (blocked, run 1)
8test pin wait unpin (ready, run 1)
9test pin preempt unpin (blocked, run 1)
10test pin preempt unpin (ready, run 1)
11test simple wait unpin (run 2)
12test pin wait unpin (blocked, run 2)
13test pin wait unpin (ready, run 2)
14test pin preempt unpin (blocked, run 2)
15test pin preempt unpin (ready, run 2)
16test simple wait unpin (run 3)
17test pin wait unpin (blocked, run 3)
18test pin wait unpin (ready, run 3)
19test pin preempt unpin (blocked, run 3)
20test pin preempt unpin (ready, run 3)
21reconfigure scheduler
22test pin home no help unpin (blocked, run 1)
23test pin home no help unpin (ready, run 1)
24test pin foreign no help unpin (blocked, run 1)
25test pin foreign no help unpin (ready, run 1)
26test pin home no help unpin (blocked, run 2)
27test pin home no help unpin (ready, run 2)
28test pin foreign no help unpin (blocked, run 2)
29test pin foreign no help unpin (ready, run 2)
30test pin home no help unpin (blocked, run 3)
31test pin home no help unpin (ready, run 3)
32test pin foreign no help unpin (blocked, run 3)
33test pin foreign no help unpin (ready, run 3)
34
35*** END OF TEST SMPTHREADPIN 1 ***
Note: See TracBrowser for help on using the repository browser.