5
Last change
on this file since 77fbbd6 was
f97536d,
checked in by Sebastian Huber <sebastian.huber@…>, on 10/16/15 at 06:21:48
|
basdefs.h: Add and use RTEMS_UNUSED
|
-
Property mode set to
100644
|
File size:
782 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @brief Set Scheduling Policy and Scheduling Parameters |
---|
5 | * @ingroup POSIXAPI |
---|
6 | */ |
---|
7 | |
---|
8 | /* |
---|
9 | * COPYRIGHT (c) 1989-2007. |
---|
10 | * On-Line Applications Research Corporation (OAR). |
---|
11 | * |
---|
12 | * The license and distribution terms for this file may be |
---|
13 | * found in the file LICENSE in this distribution or at |
---|
14 | * http://www.rtems.org/license/LICENSE. |
---|
15 | */ |
---|
16 | |
---|
17 | #if HAVE_CONFIG_H |
---|
18 | #include "config.h" |
---|
19 | #endif |
---|
20 | |
---|
21 | #include <sched.h> |
---|
22 | #include <errno.h> |
---|
23 | |
---|
24 | #include <rtems/system.h> |
---|
25 | #include <rtems/score/thread.h> |
---|
26 | #include <rtems/seterr.h> |
---|
27 | #include <rtems/posix/priorityimpl.h> |
---|
28 | |
---|
29 | int sched_setscheduler( |
---|
30 | pid_t pid RTEMS_UNUSED, |
---|
31 | int policy RTEMS_UNUSED, |
---|
32 | const struct sched_param *param RTEMS_UNUSED |
---|
33 | ) |
---|
34 | { |
---|
35 | rtems_set_errno_and_return_minus_one( ENOSYS ); |
---|
36 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.