5
Last change
on this file since 77ff5599 was
77ff5599,
checked in by Sebastian Huber <sebastian.huber@…>, on 06/10/16 at 06:48:54
|
score: Introduce map priority scheduler operation
Introduce map/unmap priority scheduler operations to map thread priority
values from/to the user domain to/from the scheduler domain. Use the
map priority operation to validate the thread priority. The EDF
schedulers use this new operation to distinguish between normal
priorities and priorities obtain through a job release.
Update #2173.
Update #2556.
|
-
Property mode set to
100644
|
File size:
441 bytes
|
Line | |
---|
1 | /* |
---|
2 | * Copyright (c) 2016 embedded brains GmbH |
---|
3 | * |
---|
4 | * The license and distribution terms for this file may be |
---|
5 | * found in the file LICENSE in this distribution or at |
---|
6 | * http://www.rtems.org/license/LICENSE. |
---|
7 | */ |
---|
8 | |
---|
9 | #if HAVE_CONFIG_H |
---|
10 | #include "config.h" |
---|
11 | #endif |
---|
12 | |
---|
13 | #include <rtems/score/scheduler.h> |
---|
14 | |
---|
15 | Priority_Control _Scheduler_default_Map_priority( |
---|
16 | const Scheduler_Control *scheduler, |
---|
17 | Priority_Control priority |
---|
18 | ) |
---|
19 | { |
---|
20 | return priority; |
---|
21 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.