diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-07-03 14:05:26 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-07-07 07:28:29 +0200 |
commit | 78515554fd110c9636c38501b699a5da125a5496 (patch) | |
tree | 527f8f413668a43a76697dca3e994691bddcaa22 /cpukit/score/include/rtems/score/thread.h | |
parent | score: Add some processor mask functions (diff) | |
download | rtems-78515554fd110c9636c38501b699a5da125a5496.tar.bz2 |
score: Move processor affinity to Thread_Control
Update #3059.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/include/rtems/score/thread.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index 54b207f137..ecab766fee 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -37,7 +37,7 @@ #include <rtems/score/watchdog.h> #if defined(RTEMS_SMP) - #include <rtems/score/cpuset.h> +#include <rtems/score/processormask.h> #endif struct _pthread_cleanup_context; @@ -311,6 +311,11 @@ typedef struct { * This list is protected by the thread scheduler lock. */ Scheduler_Node *requests; + + /** + * @brief The thread processor affinity set. + */ + Processor_mask Affinity; #endif /** |