source: rtems/cpukit/score/src/schedulerdefaultnodeinit.c @ df2177ab

5
Last change on this file since df2177ab was df2177ab, checked in by Sebastian Huber <sebastian.huber@…>, on 07/01/16 at 12:47:07

score: Change scheduler node init and destroy

Provide the scheduler node to initialize or destroy to the corresponding
operations. This makes it possible to have more than one scheduler node
per thread.

  • Property mode set to 100644
File size: 719 bytes
Line 
1/**
2 * @file
3 *
4 * @brief Scheduler Default Node Initialization Operation
5 *
6 * @ingroup ScoreScheduler
7 */
8
9/*
10 *  COPYRIGHT (c) 2011.
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
24void _Scheduler_default_Node_initialize(
25  const Scheduler_Control *scheduler,
26  Scheduler_Node          *node,
27  Thread_Control          *the_thread,
28  Priority_Control         priority
29)
30{
31  (void) scheduler;
32
33  _Scheduler_Node_do_initialize( node, the_thread, priority );
34}
Note: See TracBrowser for help on using the repository browser.