diff options
Diffstat (limited to 'ace/os_include/sched.h')
-rw-r--r-- | ace/os_include/sched.h | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/ace/os_include/sched.h b/ace/os_include/sched.h index ba64c501a65..c772d248a0e 100644 --- a/ace/os_include/sched.h +++ b/ace/os_include/sched.h @@ -2,19 +2,19 @@ //============================================================================= /** - * @file sched.h + * @file os_sched.h * * execution scheduling (REALTIME) * * $Id$ * - * @author Don Hinton <dhinton@ieee.org> + * @author Don Hinton <dhinton@dresystems.com> * @author This code was originally in various places including ace/OS.h. */ //============================================================================= -#ifndef ACE_OS_INCLUDE_SCHED_H -#define ACE_OS_INCLUDE_SCHED_H +#ifndef ACE_OS_INCLUDE_OS_SCHED_H +#define ACE_OS_INCLUDE_OS_SCHED_H #include "ace/pre.h" @@ -30,5 +30,15 @@ # include /**/ <sched.h> #endif /* !ACE_LACKS_SCHED_H */ +// Place all additions (especially function declarations) within extern "C" {} +#ifdef __cplusplus +extern "C" +{ +#endif /* __cplusplus */ + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #include "ace/post.h" -#endif /* ACE_OS_INCLUDE_SCHED_H */ +#endif /* ACE_OS_INCLUDE_OS_SCHED_H */ |