atomic.h

Go to the documentation of this file.
00001 /****************************************************************************/
00013 #ifndef _ATOMIC_H
00014 #define _ATOMIC_H
00015 
00016 #include <halAtomic.h>
00017 
00018 
00020 #define ATOMIC_SECTION_ENTER {atomic_t __atomic = halStartAtomic();
00022 #define ATOMIC_SECTION_LEAVE halEndAtomic(__atomic);}
00023 
00024 #endif /* _ATOMIC_H */
00025 // eof atomic.h
00026 

Generated on Wed Apr 2 19:06:16 2008 for ZigBeeNet Stack Documentation by  doxygen 1.5.1-p1