µEvLoop
A fast and lightweight event loop aimed at embedded platforms in C99.
critical-section.h
Go to the documentation of this file.
1 
5 #ifndef CRITICAL_SECTION_H
6 #define CRITICAL_SECTION_H
7 
8 #ifndef UEL_CRITICAL_ENTER
9 
14 #define UEL_CRITICAL_ENTER
15 #endif /* UEL_CRITICAL_ENTER */
16 
17 #ifndef UEL_CRITICAL_EXIT
18 
23 #define UEL_CRITICAL_EXIT
24 #endif /* UEL_CRITICAL_EXIT */
25 
26 #ifdef UEL_CRITICAL_SECTION_OBJ_TYPE
27 
38 extern UEL_CRITICAL_SECTION_OBJ_TYPE uel_critical_section;
39 #endif /* UEL_CRITICAL_SECTION_OBJ_TYPE */
40 
41 #endif /* end of include guard: CRITICAL_SECTION_H */