00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 #ifndef ACE_OS_INCLUDE_OS_SCHED_H
00017 #define ACE_OS_INCLUDE_OS_SCHED_H
00018 
00019 #include  "ace/pre.h"
00020 
00021 #include "ace/config-all.h"
00022 
00023 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00024 # pragma once
00025 #endif 
00026 
00027 #include "ace/os_include/os_time.h"
00028 
00029 #if !defined (ACE_LACKS_SCHED_H)
00030 # include  <sched.h>
00031 #endif 
00032 
00033 
00034 #ifdef __cplusplus
00035 extern "C"
00036 {
00037 #endif 
00038 
00039 #if !defined (__cpu_set_t_defined) || !defined (ACE_HAS_CPU_SET_T)
00040 #  define ACE_CPU_SETSIZE 1024
00041    typedef struct
00042    {
00043      ACE_UINT32 bit_array_[ACE_CPU_SETSIZE / (8 * sizeof (ACE_UINT32))];
00044    } cpu_set_t;
00045 #endif 
00046 
00047 #ifdef __cplusplus
00048 }
00049 #endif 
00050 
00051 #include  "ace/post.h"
00052 #endif