source: rtems/c/src/exec/posix/headers/priority.h @ eb5a7e07

4.104.114.84.95
Last change on this file since eb5a7e07 was 5e9b32b, checked in by Joel Sherrill <joel.sherrill@…>, on 09/26/95 at 19:27:15

posix support initially added

  • Property mode set to 100644
File size: 566 bytes
Line 
1/*
2 *
3 *
4 *  $Id$
5 */
6
7#ifndef __RTEMS_POSIX_PRIORITY_h
8#define __RTEMS_POSIX_PRIORITY_h
9
10#include <rtems/score/priority.h>
11
12/*
13 *  RTEMS Core has priorities run in the opposite sense of the POSIX API.
14 */
15
16#define POSIX_SCHEDULER_MAXIMUM_PRIORITY (255)
17 
18#define POSIX_SCHEDULER_MINIMUM_PRIORITY (1)
19
20STATIC INLINE boolean _POSIX_Priority_Is_valid(
21  int priority
22);
23
24STATIC INLINE Priority_Control _POSIX_Priority_To_core(
25  int priority
26);
27
28STATIC INLINE int _POSIX_Priority_From_core(
29  Priority_Control priority
30);
31
32#include <rtems/posix/priority.inl>
33
34#endif
Note: See TracBrowser for help on using the repository browser.