Changeset 7097962 in rtems for testsuites


Ignore:
Timestamp:
Aug 29, 2018, 7:43:44 AM (15 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
e58f1cd3
Parents:
d8bc0730
git-author:
Sebastian Huber <sebastian.huber@…> (08/29/18 07:43:44)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/10/18 08:38:45)
Message:

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.

Location:
testsuites/smptests
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/smptests/Makefile.am

    rd8bc0730 r7097962  
    623623
    624624if HAS_SMP
     625if TEST_smpthreadpin01
     626smp_tests += smpthreadpin01
     627smp_screens += smpthreadpin01/smpthreadpin01.scn
     628smp_docs += smpthreadpin01/smpthreadpin01.doc
     629smpthreadpin01_SOURCES = smpthreadpin01/init.c
     630smpthreadpin01_CPPFLAGS = $(AM_CPPFLAGS) \
     631        $(TEST_FLAGS_smpthreadpin01) $(support_includes)
     632endif
     633endif
     634
     635if HAS_SMP
    625636if TEST_smpunsupported01
    626637smp_tests += smpunsupported01
  • testsuites/smptests/configure.ac

    rd8bc0730 r7097962  
    8888RTEMS_TEST_CHECK([smpswitchextension01])
    8989RTEMS_TEST_CHECK([smpthreadlife01])
     90RTEMS_TEST_CHECK([smpthreadpin01])
    9091RTEMS_TEST_CHECK([smpunsupported01])
    9192RTEMS_TEST_CHECK([smpwakeafter01])
Note: See TracChangeset for help on using the changeset viewer.