source: rtems/cpukit/posix/src/sched_setparam.c @ 88c74ab

4.115
Last change on this file since 88c74ab was 88c74ab, checked in by Sebastian Huber <sebastian.huber@…>, on 07/25/13 at 13:10:11

score: Merge tod implementation into one file

Delete TOD_MICROSECONDS_PER_SECOND, TOD_MICROSECONDS_TO_TICKS() and
TOD_MILLISECONDS_TO_TICKS().

  • Property mode set to 100644
File size: 860 bytes
Line 
1/**
2 * @file
3 *
4 * @brief Sets Scheduling Parameters Associated with Scheduling Policies
5 * @ingroup POSIXAPI
6 */
7
8/*
9 *  13.3.1 Set Scheduling Parameters, P1003.1b-1993, p. 252
10 *
11 *  COPYRIGHT (c) 1989-2007.
12 *  On-Line Applications Research Corporation (OAR).
13 *
14 *  The license and distribution terms for this file may be
15 *  found in the file LICENSE in this distribution or at
16 *  http://www.rtems.com/license/LICENSE.
17 */
18
19#if HAVE_CONFIG_H
20#include "config.h"
21#endif
22
23#include <sched.h>
24#include <errno.h>
25
26#include <rtems/system.h>
27#include <rtems/score/thread.h>
28#include <rtems/seterr.h>
29#include <rtems/posix/priorityimpl.h>
30#include <rtems/posix/time.h>
31
32int sched_setparam(
33  pid_t                     pid __attribute__((unused)),
34  const struct sched_param *param __attribute__((unused))
35)
36{
37  rtems_set_errno_and_return_minus_one( ENOSYS );
38}
Note: See TracBrowser for help on using the repository browser.