summaryrefslogblamecommitdiffstats
path: root/cpukit/score/src/schedulerdefaultsetaffinity.c
blob: ad7fc0d43d87f21106127f785bdf778df7e11ef7 (plain) (tree)
1
2
3
4
5
6




                                                  
                               















                                                           

                                     

                                     
                                
                                   

 


                                              
         
            
    
 
/**
 * @file
 *
 * @brief Scheduler Default Set Affinity Operation
 *
 * @ingroup RTEMSScoreScheduler
 */

/*
 *  COPYRIGHT (c) 2014.
 *  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/schedulerimpl.h>

bool _Scheduler_default_Set_affinity(
  const Scheduler_Control *scheduler,
  Thread_Control          *thread,
  Scheduler_Node          *node,
  const Processor_mask    *affinity
)
{
  return _Scheduler_default_Set_affinity_body(
    scheduler,
    thread,
    node,
    affinity
  );
}