Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

sched.h File Reference

#include <errno.h>

Go to the source code of this file.

Defines

#define PTW32_LEVEL_MAX   3
#define PTW32_LEVEL   PTW32_LEVEL_MAX
#define PTW32_DLLPORT   __declspec (dllimport)
#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 sched_yield (void)
PTW32_DLLPORT int sched_get_priority_min (int policy)
PTW32_DLLPORT int sched_get_priority_max (int policy)
PTW32_DLLPORT int sched_setscheduler (pid_t pid, int policy)
PTW32_DLLPORT int sched_getscheduler (pid_t pid)


Define Documentation

#define PTW32_DLLPORT   __declspec (dllimport)
 

Definition at line 82 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 162 of file sched.h.


Typedef Documentation

typedef int pid_t
 

Definition at line 120 of file sched.h.


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
SCHED_OTHER 
SCHED_FIFO 
SCHED_RR 
SCHED_MIN 
SCHED_MAX 

Definition at line 125 of file sched.h.


Function Documentation

PTW32_DLLPORT int sched_get_priority_max int  policy  ) 
 

PTW32_DLLPORT int sched_get_priority_min int  policy  ) 
 

PTW32_DLLPORT int sched_getscheduler pid_t  pid  ) 
 

PTW32_DLLPORT int sched_setscheduler pid_t  pid,
int  policy
 

PTW32_DLLPORT int sched_yield void   ) 
 


Generated on Sun May 14 14:51:29 2006 by  doxygen 1.4.2