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.3 KB
|
Line | |
---|
1 | /** |
---|
2 | * @file rtems/score/schedulersimple.inl |
---|
3 | * |
---|
4 | * This inline file contains all of the inlined routines associated with |
---|
5 | * the manipulation of the priority-based scheduling structures. |
---|
6 | */ |
---|
7 | |
---|
8 | /* |
---|
9 | * Copyright (C) 2011 On-Line Applications Research Corporation (OAR). |
---|
10 | * |
---|
11 | * The license and distribution terms for this file may be |
---|
12 | * found in the file LICENSE in this distribution or at |
---|
13 | * http://www.rtems.com/license/LICENSE. |
---|
14 | */ |
---|
15 | |
---|
16 | #ifndef _RTEMS_SCORE_SCHEDULERSIMPLE_H |
---|
17 | # error "Never use <rtems/score/schedulersimple.inl> directly; include <rtems/score/schedulersimple.h> instead." |
---|
18 | #endif |
---|
19 | |
---|
20 | #ifndef _RTEMS_SCORE_SCHEDULERSIMPLE_INL |
---|
21 | #define _RTEMS_SCORE_SCHEDULERSIMPLE_INL |
---|
22 | |
---|
23 | #include <rtems/score/thread.h> |
---|
24 | |
---|
25 | /** |
---|
26 | * @addtogroup ScoreScheduler |
---|
27 | * @{ |
---|
28 | */ |
---|
29 | |
---|
30 | /** |
---|
31 | * This routine puts @a the_thread on to the ready queue. |
---|
32 | * |
---|
33 | * @param[in] the_ready_queue is a pointer to the ready queue head |
---|
34 | * @param[in] the_thread is the thread to be blocked |
---|
35 | */ |
---|
36 | RTEMS_INLINE_ROUTINE void _Scheduler_simple_Ready_queue_requeue( |
---|
37 | Scheduler_Control *the_ready_queue, |
---|
38 | Thread_Control *the_thread |
---|
39 | ) |
---|
40 | { |
---|
41 | /* extract */ |
---|
42 | _Chain_Extract_unprotected( &the_thread->Object.Node ); |
---|
43 | |
---|
44 | /* enqueue */ |
---|
45 | _Scheduler_simple_Ready_queue_enqueue( the_thread ); |
---|
46 | } |
---|
47 | |
---|
48 | /**@}*/ |
---|
49 | |
---|
50 | #endif |
---|
51 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.