00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 #ifndef ACE_OS_INCLUDE_OS_INTRIN_H
00016 #define ACE_OS_INCLUDE_OS_INTRIN_H
00017 
00018 #include  "ace/pre.h"
00019 
00020 #include  "ace/config-all.h"
00021 
00022 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00023 # pragma once
00024 #endif 
00025 
00026 #if defined (ACE_HAS_INTRIN_H)
00027 # include  <intrin.h>
00028 #endif 
00029 
00030 #if defined (ACE_HAS_IA64INTRIN_H)
00031 # include  <ia64intrin.h>
00032 #endif 
00033 
00034 #if defined (ACE_HAS_IA32INTRIN_H)
00035 # include  <ia32intrin.h>
00036 #endif 
00037 
00038 
00039 #ifdef __cplusplus
00040 extern "C"
00041 {
00042 #endif 
00043 
00044 #if defined (_MSC_VER) && (_MSC_VER < 1400) && !(defined (__INTEL_COMPILER) && (__INTEL_COMPILER == 900))
00045 
00046 LONG __cdecl _InterlockedIncrement (LONG volatile *Addend);
00047 LONG __cdecl _InterlockedDecrement (LONG volatile *Addend);
00048 LONG __cdecl _InterlockedExchange (LONG volatile *Target, LONG Value);
00049 LONG __cdecl _InterlockedExchangeAdd (LONG volatile *Addend, LONG Value);
00050 #endif //_MSC_VER
00051 
00052 #ifdef __cplusplus
00053 }
00054 #endif 
00055 
00056 #include  "ace/post.h"
00057 #endif