5
Last change
on this file since 1c2d178 was
197a614,
checked in by Sebastian Huber <sebastian.huber@…>, on 07/05/17 at 13:14:26
|
score: Add scheduler node to set affinity op
Update #3059.
|
-
Property mode set to
100644
|
File size:
725 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @brief Scheduler Default Set Affinity Operation |
---|
5 | * |
---|
6 | * @ingroup ScoreScheduler |
---|
7 | */ |
---|
8 | |
---|
9 | /* |
---|
10 | * COPYRIGHT (c) 2014. |
---|
11 | * On-Line Applications Research Corporation (OAR). |
---|
12 | * |
---|
13 | * The license and distribution terms for this file may be |
---|
14 | * found in the file LICENSE in this distribution or at |
---|
15 | * http://www.rtems.org/license/LICENSE. |
---|
16 | */ |
---|
17 | |
---|
18 | #if HAVE_CONFIG_H |
---|
19 | #include "config.h" |
---|
20 | #endif |
---|
21 | |
---|
22 | #include <rtems/score/schedulerimpl.h> |
---|
23 | |
---|
24 | bool _Scheduler_default_Set_affinity( |
---|
25 | const Scheduler_Control *scheduler, |
---|
26 | Thread_Control *thread, |
---|
27 | Scheduler_Node *node, |
---|
28 | const Processor_mask *affinity |
---|
29 | ) |
---|
30 | { |
---|
31 | return _Scheduler_default_Set_affinity_body( |
---|
32 | scheduler, |
---|
33 | thread, |
---|
34 | node, |
---|
35 | affinity |
---|
36 | ); |
---|
37 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.