diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-17 08:38:47 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-17 10:21:03 +0200 |
commit | 2be22d4f6478e80cd7df05b888650d1563d2b504 (patch) | |
tree | 02c2a63bb19f4518b717472e1e1afd4da072a4a8 /cpukit/posix/include/rtems | |
parent | posix: Fix _POSIX_Threads_Create_extension() (diff) | |
download | rtems-2be22d4f6478e80cd7df05b888650d1563d2b504.tar.bz2 |
posix: Move POSIX_API_Control::thread
This member is only used by the sporadic server support.
Update #2514.
Diffstat (limited to 'cpukit/posix/include/rtems')
-rw-r--r-- | cpukit/posix/include/rtems/posix/threadsup.h | 6 |
1 files changed, 3 insertions, 3 deletions
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. |