source: rtems/cpukit/score/src/scheduleredffree.c @ 24934e36

4.115
Last change on this file since 24934e36 was 24934e36, checked in by Sebastian Huber <sebastian.huber@…>, on 04/03/14 at 13:03:35

score: Add scheduler control to scheduler ops

Scheduler operations must be free of a global scheduler context to
enable partitioned/clustered scheduling.

  • Property mode set to 100644
File size: 738 bytes
Line 
1/**
2 * @file
3 *
4 * @brief Frees EDF Thread Information
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/system.h>
23#include <rtems/config.h>
24#include <rtems/score/scheduler.h>
25#include <rtems/score/scheduleredf.h>
26#include <rtems/score/wkspace.h>
27
28void _Scheduler_EDF_Free(
29  Scheduler_Control *scheduler,
30  Thread_Control    *the_thread
31)
32{
33  (void) scheduler;
34
35  _Workspace_Free( the_thread->scheduler_info );
36}
Note: See TracBrowser for help on using the repository browser.