RTEMS 6.3
Loading...
Searching...
No Matches

Tests SMP-specific thread behaviour using only one processor and a uniprocessor scheduler. More...

Files

file  testsuites/validation/tc-score-thread-smp-one-cpu.c

Data Structures

struct  ScoreThreadValSmpOneCpu_Context
 Test context for spec:/score/thread/val/smp-one-cpu test case. More...

Macros

#define EVENT_COUNT   RTEMS_EVENT_0

Typedefs

typedef ScoreThreadValSmpOneCpu_Context Context

Functions

 T_TEST_CASE_FIXTURE (ScoreThreadValSmpOneCpu, &ScoreThreadValSmpOneCpu_Fixture)

Detailed Description

Tests SMP-specific thread behaviour using only one processor and a uniprocessor scheduler.

This test case performs the following actions:

  • Create one worker thread to validate the thread pinning on only one processor using a uniprocessor scheduler.
    • Pin the runner thread. Preempt the runner thread. Unpin the runner thread.
    • Clean up all used resources.