diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-12-28 12:22:12 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-12-28 12:22:12 +0000 |
commit | 9e966931dbd3949d2d5ae5ec0e3768811a7f6278 (patch) | |
tree | 416b9ce60fdb763dcbc3facb1c33d1faacc71167 /ace/os_include/os_sched.h | |
parent | 9643d556aca257316856d2a92323734d05ec8bac (diff) | |
download | ATCD-9e966931dbd3949d2d5ae5ec0e3768811a7f6278.tar.gz |
ChangeLogTag: Wed Dec 28 11:32:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ace/os_include/os_sched.h')
-rw-r--r-- | ace/os_include/os_sched.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/ace/os_include/os_sched.h b/ace/os_include/os_sched.h index 3a3b42d24e7..aab17789286 100644 --- a/ace/os_include/os_sched.h +++ b/ace/os_include/os_sched.h @@ -37,8 +37,15 @@ extern "C" #endif /* __cplusplus */ #if !defined (ACE_HAS_CPU_SET_T) -typedef unsigned long cpu_set_t; -#endif +# if !defined (__cpu_set_t_defined) +# define __cpu_set_t_defined +# define ACE_CPU_SETSIZE 1024 + typedef struct + { + ACE_UINT32 bit_array_[ACE_CPU_SETSIZE / (8 * sizeof (ACE_UINT32))]; + } cpu_set_t; +# endif /* !__cpu_set_t_defined */ +#endif /* !ACE_HAS_CPU_SET_T */ #ifdef __cplusplus } |