diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-16 16:07:17 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-16 16:07:17 +0000 |
commit | c09454282bf05f46d967af5ed5fa9897cccca58a (patch) | |
tree | a1c2d666fb7006a5da49cbec937ecd4002a4b354 /cpukit/score/cpu/unix/rtems/score/cpu.h | |
parent | Fixed so can be included multiple times in the executive source. (diff) | |
download | rtems-c09454282bf05f46d967af5ed5fa9897cccca58a.tar.bz2 |
Only check for System V IPC if multiprocessing is enabled. The unix
port only uses System V IPC for shared memory and semaphores to
communicate between nodes in a multiprocessor configuration. If you
disable multiprocessing, then this code should be unused. Thus systems
like Cygwin which are POSIX but do not support System V IPC should
not work.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/cpu/unix/rtems/score/cpu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/score/cpu/unix/rtems/score/cpu.h b/cpukit/score/cpu/unix/rtems/score/cpu.h index 96c7522b53..75eb07af74 100644 --- a/cpukit/score/cpu/unix/rtems/score/cpu.h +++ b/cpukit/score/cpu/unix/rtems/score/cpu.h @@ -1061,6 +1061,8 @@ void _CPU_Start_clock( void _CPU_Stop_clock( void ); +#if defined(RTEMS_MULTIPROCESSING) + void _CPU_SHM_Init( unsigned32 maximum_nodes, boolean is_master_node, @@ -1084,6 +1086,7 @@ void _CPU_SHM_Lock( void _CPU_SHM_Unlock( int semaphore ); +#endif #ifdef __cplusplus } |