source: rtems/cpukit/score/src/schedulersimpleenqueuefirst.c @ d7c3883

4.115
Last change on this file since d7c3883 was 0118ed6, checked in by Joel Sherrill <joel.sherrill@…>, on 03/16/11 at 16:32:22

2011-03-16 Jennifer Averett <jennifer.averett@…>

PR 1743/cpu

  • sapi/include/confdefs.h, score/Makefile.am, score/preinstall.am: Add Simple Priority Scheduler as complement to existing Deterministic Priority Scheduler. This scheduler serves both as an example and as a lighter weight implementation for smaller systems.
  • score/include/rtems/score/schedulersimple.h, score/inline/rtems/score/schedulersimple.inl, score/src/schedulersimple.c, score/src/schedulersimpleblock.c, score/src/schedulersimpleenqueue.c, score/src/schedulersimpleenqueuefirst.c, score/src/schedulersimpleextract.c, score/src/schedulersimplereadyqueueenqueue.c, score/src/schedulersimplereadyqueueenqueuefirst.c, score/src/schedulersimpleschedule.c, score/src/schedulersimpleunblock.c, score/src/schedulersimpleyield.c: New files.
  • Property mode set to 100644
File size: 628 bytes
Line 
1/*
2 *  Schedule Simple Handler / Enqueue First
3 *
4 *  COPYRIGHT (c) 2011.
5 *  On-Line Applications Research Corporation (OAR).
6 *
7 *  The license and distribution terms for this file may be
8 *  found in the file LICENSE in this distribution or at
9 *  http://www.rtems.com/license/LICENSE.
10 *
11 *  $Id$
12 */
13
14#if HAVE_CONFIG_H
15#include "config.h"
16#endif
17
18#include <rtems/system.h>
19#include <rtems/score/chain.h>
20#include <rtems/score/thread.h>
21#include <rtems/score/schedulersimple.h>
22
23void _Scheduler_simple_Enqueue_first(
24  Thread_Control            *the_thread
25)
26{
27  _Scheduler_simple_Ready_queue_Enqueue_first( the_thread );
28}
Note: See TracBrowser for help on using the repository browser.