From 2be22d4f6478e80cd7df05b888650d1563d2b504 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 17 Oct 2017 08:38:47 +0200 Subject: posix: Move POSIX_API_Control::thread This member is only used by the sporadic server support. Update #2514. --- cpukit/posix/include/rtems/posix/threadsup.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpukit/posix/include/rtems') diff --git a/cpukit/posix/include/rtems/posix/threadsup.h b/cpukit/posix/include/rtems/posix/threadsup.h index cc250f7464..816ef566d8 100644 --- a/cpukit/posix/include/rtems/posix/threadsup.h +++ b/cpukit/posix/include/rtems/posix/threadsup.h @@ -40,9 +40,6 @@ extern "C" { * each thread in a system with POSIX configured. */ typedef struct { - /** Back pointer to thread of this POSIX API control. */ - Thread_Control *thread; - /** Created with explicit or inherited scheduler. */ bool created_with_explicit_scheduler; @@ -56,6 +53,9 @@ typedef struct { * @brief Control block for the sporadic server scheduling policy. */ struct { + /** The thread of this sporadic control block */ + Thread_Control *thread; + /** * @brief This is the timer which controls when the thread executes at high * and low priority when using the sporadic server scheduling policy. -- cgit v1.2.3