Go to the documentation of this file.
28 #if !defined(__critsec_h__)
31 #if defined(__cplusplus)
37 #if defined(CONF_TM) && defined(CONF_CRITICAL_SECTIONS)
41 #ifndef DOXYGEN_SHOULD_SKIP_INTERNALS
52 #endif // DOXYGEN_SHOULD_SKIP_INTERNALS
60 #define locked_decrement(counter) atomic_dec(counter)
79 #define initialize_critical_section(cs) (cs)->count=0
101 #define leave_critical_section(cs) atomic_dec(&(cs)->count)
111 #define destroy_critical_section(cs)
113 #endif // CONF_TM && CONF_CRITICAL_SECTIONS
115 #if defined(__cplusplus)
117 #endif // __cplusplus
119 #endif // __critsec_h__
Generated on Sat Mar 15 2014 11:28:19 for brickOS C by
1.8.1.2