summaryrefslogblamecommitdiffstats
path: root/cpukit/score/src/schedulersimpleextract.c
blob: 7bb4339ff3d554cbb8abb52cc318b5da15bc5a42 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                
  



                          




                                                           
                                         





                   
                                        

                                  

                               
                               


                               

                   

                                                         
/**
 * @file
 *
 * @brief Removes a Thread from the Simple Queue
 *
 * @ingroup ScoreScheduler
 */

/*
 *  COPYRIGHT (c) 2011.
 *  On-Line Applications Research Corporation (OAR).
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.org/license/LICENSE.
 */

#if HAVE_CONFIG_H
#include "config.h"
#endif

#include <rtems/score/schedulersimple.h>
#include <rtems/score/chainimpl.h>
#include <rtems/score/thread.h>

void _Scheduler_simple_Extract(
  Scheduler_Control *scheduler,
  Thread_Control    *the_thread
)
{
  (void) scheduler;

  _Chain_Extract_unprotected( &the_thread->Object.Node );
}