Classes | Macros | Typedefs | Enumerations | Functions
sched.h File Reference
#include <errno.h>
Include dependency graph for sched.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sched_param
 

Macros

#define PTW32_DLLPORT   __declspec (dllimport)
 
#define PTW32_LEVEL   PTW32_LEVEL_MAX
 
#define PTW32_LEVEL_MAX   3
 
#define sched_rr_get_interval(_pid, _interval)   ( errno = ENOTSUP, (int) -1 )
 

Typedefs

typedef int pid_t
 

Enumerations

enum  {
  SCHED_OTHER = 0, SCHED_FIFO, SCHED_RR, SCHED_MIN = SCHED_OTHER,
  SCHED_MAX = SCHED_RR
}
 

Functions

PTW32_DLLPORT int __cdecl sched_get_priority_max (int policy)
 
PTW32_DLLPORT int __cdecl sched_get_priority_min (int policy)
 
PTW32_DLLPORT int __cdecl sched_getscheduler (pid_t pid)
 
PTW32_DLLPORT int __cdecl sched_setscheduler (pid_t pid, int policy)
 
PTW32_DLLPORT int __cdecl sched_yield (void)
 

Macro Definition Documentation

#define PTW32_DLLPORT   __declspec (dllimport)

Definition at line 83 of file sched.h.

#define PTW32_LEVEL   PTW32_LEVEL_MAX

Definition at line 64 of file sched.h.

#define PTW32_LEVEL_MAX   3

Definition at line 61 of file sched.h.

#define sched_rr_get_interval (   _pid,
  _interval 
)    ( errno = ENOTSUP, (int) -1 )

Definition at line 166 of file sched.h.

Typedef Documentation

typedef int pid_t

Definition at line 124 of file sched.h.

Enumeration Type Documentation

anonymous enum
Enumerator
SCHED_OTHER 
SCHED_FIFO 
SCHED_RR 
SCHED_MIN 
SCHED_MAX 

Definition at line 129 of file sched.h.

Function Documentation

PTW32_DLLPORT int __cdecl sched_get_priority_max ( int  policy)
PTW32_DLLPORT int __cdecl sched_get_priority_min ( int  policy)
PTW32_DLLPORT int __cdecl sched_getscheduler ( pid_t  pid)
PTW32_DLLPORT int __cdecl sched_setscheduler ( pid_t  pid,
int  policy 
)
PTW32_DLLPORT int __cdecl sched_yield ( void  )


kni
Author(s): Martin Günther
autogenerated on Fri Jun 7 2019 22:06:45