source: rtems/cpukit/score/src/schedulerdefaultsetaffinity.c @ 0232b28

5
Last change on this file since 0232b28 was 0232b28, checked in by Sebastian Huber <sebastian.huber@…>, on 07/04/17 at 06:59:37

score: Use processor mask for set affinity

Update #3059.

  • Property mode set to 100644
File size: 682 bytes
Line 
1/**
2 * @file
3 *
4 * @brief Scheduler Default Set Affinity Operation
5 *
6 * @ingroup ScoreScheduler
7 */
8
9/*
10 *  COPYRIGHT (c) 2014.
11 *  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/score/schedulerimpl.h>
23
24bool _Scheduler_default_Set_affinity(
25  const Scheduler_Control *scheduler,
26  Thread_Control          *thread,
27  const Processor_mask    *affinity
28)
29{
30  return _Scheduler_default_Set_affinity_body(
31    scheduler,
32    thread,
33    affinity
34  );
35}
Note: See TracBrowser for help on using the repository browser.