source: rtems/cpukit/score/include/rtems/score/schedulercbsimpl.h @ 64939bc

4.115
Last change on this file since 64939bc was 08d9760, checked in by Sebastian Huber <sebastian.huber@…>, on 07/08/14 at 12:25:55

score: Rename *_Node_get() to *_Thread_get_node()

This emphasizes that the scheduler node of a thread is returned and this
is not a function working with scheduler nodes like the other *_Node_*()
functions.

  • Property mode set to 100644
File size: 988 bytes
Line 
1/**
2 * @file
3 *
4 * @brief CBS Scheduler Implementation
5 *
6 * @ingroup ScoreSchedulerCBS
7 */
8
9/*
10 * Copyright (c) 2014 embedded brains GmbH.  All rights reserved.
11 *
12 *  embedded brains GmbH
13 *  Dornierstr. 4
14 *  82178 Puchheim
15 *  Germany
16 *  <rtems@embedded-brains.de>
17 *
18 * The license and distribution terms for this file may be
19 * found in the file LICENSE in this distribution or at
20 * http://www.rtems.org/license/LICENSE.
21 */
22
23#ifndef _RTEMS_SCORE_SCHEDULERCBSIMPL_H
24#define _RTEMS_SCORE_SCHEDULERCBSIMPL_H
25
26#include <rtems/score/schedulercbs.h>
27#include <rtems/score/schedulerimpl.h>
28
29#ifdef __cplusplus
30extern "C" {
31#endif /* __cplusplus */
32
33/**
34 * @addtogroup ScoreSchedulerCBS
35 *
36 * @{
37 */
38
39RTEMS_INLINE_ROUTINE Scheduler_CBS_Node *_Scheduler_CBS_Thread_get_node(
40  Thread_Control *the_thread
41)
42{
43  return (Scheduler_CBS_Node *) _Scheduler_Thread_get_node( the_thread );
44}
45
46/** @} */
47
48#ifdef __cplusplus
49}
50#endif /* __cplusplus */
51
52#endif /* _RTEMS_SCORE_SCHEDULERCBSIMPL_H */
Note: See TracBrowser for help on using the repository browser.