os_sched.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file    os_sched.h
00006  *
00007  *  execution scheduling (REALTIME)
00008  *
00009  *  os_sched.h,v 1.6 2005/12/29 09:12:33 jwillemsen Exp
00010  *
00011  *  @author Don Hinton <dhinton@dresystems.com>
00012  *  @author This code was originally in various places including ace/OS.h.
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 /* ACE_LACKS_PRAGMA_ONCE */
00026 
00027 #include "ace/os_include/os_time.h"
00028 
00029 #if !defined (ACE_LACKS_SCHED_H)
00030 # include /**/ <sched.h>
00031 #endif /* !ACE_LACKS_SCHED_H */
00032 
00033 // Place all additions (especially function declarations) within extern "C" {}
00034 #ifdef __cplusplus
00035 extern "C"
00036 {
00037 #endif /* __cplusplus */
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 /* !ACE_HAS_CPU_SET_T || !__cpu_set_t_defined */
00046 
00047 #ifdef __cplusplus
00048 }
00049 #endif /* __cplusplus */
00050 
00051 #include /**/ "ace/post.h"
00052 #endif /* ACE_OS_INCLUDE_OS_SCHED_H */

Generated on Thu Nov 9 09:41:58 2006 for ACE by doxygen 1.3.6