source: rtems/cpukit/score/src/schedulerpriorityblock.c @ 99fc1d1d

5
Last change on this file since 99fc1d1d was e1598a6, checked in by Sebastian Huber <sebastian.huber@…>, on 04/04/14 at 08:56:36

score: Static scheduler configuration

Do not allocate the scheduler control structures from the workspace.
This is a preparation step for configuration of clustered/partitioned
schedulers on SMP.

  • Property mode set to 100644
File size: 735 bytes
Line 
1/**
2 * @file
3 *
4 * @brief Scheduler Priority Block
5 * @ingroup ScoreScheduler
6 */
7
8/*
9 *  Scheduler Handler
10 *
11 *  Copyright (C) 2010 Gedare Bloom.
12 *  Copyright (C) 2011 On-Line Applications Research Corporation (OAR).
13 *
14 *  The license and distribution terms for this file may be
15 *  found in the file LICENSE in this distribution or at
16 *  http://www.rtems.org/license/LICENSE.
17 */
18
19#if HAVE_CONFIG_H
20#include "config.h"
21#endif
22
23#include <rtems/score/schedulerpriorityimpl.h>
24
25void _Scheduler_priority_Block(
26  const Scheduler_Control *scheduler,
27  Thread_Control          *the_thread
28)
29{
30  _Scheduler_Generic_block(
31    scheduler,
32    the_thread,
33    _Scheduler_priority_Extract_body,
34    _Scheduler_priority_Schedule_body
35  );
36}
Note: See TracBrowser for help on using the repository browser.