Changeset 23 for trunk/hal/tsar_mips32/hal_atomic.c
- Timestamp:
- Jun 18, 2017, 10:06:41 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/hal_atomic.c
r8 r23 79 79 } 80 80 81 ///////////////////////////////////////82 int32_t hal_atomic_inc( uint32_t * ptr)83 {84 return hal_atomic_add( ptr , 1 );85 }86 87 ///////////////////////////////////////88 int32_t hal_atomic_dec( uint32_t * ptr)89 {90 return hal_atomic_add( ptr , -1 );91 }92 93 81 ////////////////////////////////////// 94 82 bool_t hal_atomic_cas( uint32_t * ptr,
Note: See TracChangeset
for help on using the changeset viewer.