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


        
                                       
  

                                                         

   



                                    
                                                                       

                                                           
                                                        
                                         

   
                    


                   
                                              
 
                               
                                     

                                      
 
 
                           

               
         
                                     
                                     
    
 
/**
 * @file
 *
 * @ingroup RTEMSScoreSchedulerPriority
 *
 * @brief This source file contains the implementation of
 *   _Scheduler_priority_Block().
 */

/*
 *  Scheduler Handler
 *
 *  Copyright (C) 2010 Gedare Bloom.
 *  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.
 */

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

#include <rtems/score/schedulerpriorityimpl.h>

void _Scheduler_priority_Block(
  const Scheduler_Control *scheduler,
  Thread_Control          *the_thread,
  Scheduler_Node          *node
)
{
  _Scheduler_Generic_block(
    scheduler,
    the_thread,
    node,
    _Scheduler_priority_Extract_body,
    _Scheduler_priority_Schedule_body
  );
}