source: rtems/cpukit/score/src/schedulerdefaultaskforhelp.c @ 351c14d

5
Last change on this file since 351c14d was 351c14d, checked in by Sebastian Huber <sebastian.huber@…>, on 09/27/16 at 09:33:36

score: Add new SMP scheduler helping protocol

Update #2556.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1/*
2 * Copyright (c) 2014, 2016 embedded brains GmbH
3 *
4 * The license and distribution terms for this file may be
5 * found in the file LICENSE in this distribution or at
6 * http://www.rtems.org/license/LICENSE.
7 */
8
9#if HAVE_CONFIG_H
10  #include "config.h"
11#endif
12
13#include <rtems/score/scheduler.h>
14
15bool _Scheduler_default_Ask_for_help(
16  const Scheduler_Control *scheduler,
17  Thread_Control          *the_thread,
18  Scheduler_Node          *node
19)
20{
21  (void) scheduler;
22  (void) the_thread;
23  (void) node;
24
25  return false;
26}
27
28void _Scheduler_default_Reconsider_help_request(
29  const Scheduler_Control *scheduler,
30  Thread_Control          *the_thread,
31  Scheduler_Node          *node
32)
33{
34  (void) scheduler;
35  (void) the_thread;
36  (void) node;
37}
38
39void _Scheduler_default_Withdraw_node(
40  const Scheduler_Control *scheduler,
41  Thread_Control          *the_thread,
42  Scheduler_Node          *node,
43  Thread_Scheduler_state   next_state
44)
45{
46  (void) scheduler;
47  (void) the_thread;
48  (void) node;
49  (void) next_state;
50}
51
52Thread_Control *_Scheduler_default_Ask_for_help_X(
53  const Scheduler_Control *scheduler,
54  Thread_Control          *offers_help,
55  Thread_Control          *needs_help
56)
57{
58  (void) scheduler;
59  (void) offers_help;
60  (void) needs_help;
61
62  return NULL;
63}
Note: See TracBrowser for help on using the repository browser.