source: rtems/cpukit/score/src/schedulerdefaultreleasejob.c @ 21bdca4

5
Last change on this file since 21bdca4 was 21bdca4, checked in by Sebastian Huber <sebastian.huber@…>, on 08/03/16 at 13:41:31

score: Indroduce cancel job scheduler operation

Do not use a deadline value of zero to indicate a job cancellation. Use
a dedicated scheduler operation for this.

  • Property mode set to 100644
File size: 836 bytes
Line 
1/**
2 * @file
3 *
4 * @brief Default Scheduler Release Job Operation
5 *
6 * @ingroup ScoreScheduler
7 */
8
9/*
10 *  Copyright (C) 2011 Petr Benes.
11 *  Copyright (C) 2011 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/scheduler.h>
23
24void _Scheduler_default_Release_job(
25  const Scheduler_Control *scheduler,
26  Thread_Control          *the_thread,
27  uint64_t                 deadline
28)
29{
30  (void) scheduler;
31  (void) the_thread;
32  (void) deadline;
33}
34
35void _Scheduler_default_Cancel_job(
36  const Scheduler_Control *scheduler,
37  Thread_Control          *the_thread
38)
39{
40  (void) scheduler;
41  (void) the_thread;
42}
Note: See TracBrowser for help on using the repository browser.