4.115
Last change
on this file since 9b4422a2 was
9b4422a2,
checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24
|
Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | /** |
---|
2 | * @file rtems/score/priority.inl |
---|
3 | * |
---|
4 | * This file contains the static inline implementation of all inlined |
---|
5 | * routines in the Priority Handler. |
---|
6 | */ |
---|
7 | |
---|
8 | /* |
---|
9 | * COPYRIGHT (c) 1989-2011. |
---|
10 | * On-Line Applications Research Corporation (OAR). |
---|
11 | * |
---|
12 | * The license and distribution terms for this file may be |
---|
13 | * found in the file LICENSE in this distribution or at |
---|
14 | * http://www.rtems.com/license/LICENSE. |
---|
15 | */ |
---|
16 | |
---|
17 | #ifndef _RTEMS_SCORE_PRIORITY_H |
---|
18 | # error "Never use <rtems/score/priority.inl> directly; include <rtems/score/priority.h> instead." |
---|
19 | #endif |
---|
20 | |
---|
21 | #ifndef _RTEMS_SCORE_PRIORITY_INL |
---|
22 | #define _RTEMS_SCORE_PRIORITY_INL |
---|
23 | |
---|
24 | /** |
---|
25 | * @addtogroup ScorePriority |
---|
26 | * @{ |
---|
27 | */ |
---|
28 | |
---|
29 | /** |
---|
30 | * This function returns true if the_priority if valid for a |
---|
31 | * user task, and false otherwise. |
---|
32 | */ |
---|
33 | |
---|
34 | RTEMS_INLINE_ROUTINE bool _Priority_Is_valid ( |
---|
35 | Priority_Control the_priority |
---|
36 | ) |
---|
37 | { |
---|
38 | /* |
---|
39 | * Since PRIORITY_MINIMUM is 0 and priorities are stored unsigned, |
---|
40 | * then checking for less than 0 is unnecessary. |
---|
41 | */ |
---|
42 | |
---|
43 | return ( the_priority <= PRIORITY_MAXIMUM ); |
---|
44 | } |
---|
45 | |
---|
46 | |
---|
47 | |
---|
48 | /**@}*/ |
---|
49 | |
---|
50 | #endif |
---|
51 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.