Changes between Version 6 and Version 7 of library_locks
- Timestamp:
- Dec 3, 2014, 11:26:52 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
library_locks
v6 v7 17 17 === unsigned int '''atomic_increment'''( unsigned int* shared, unsigned int increment) === 18 18 This function uses a LL/SC to atomically increment a shared variable. 19 * ''' shared''' : pointer on the shared variable19 * '''ptr''' : pointer on the shared variable 20 20 * '''increment''' : increment value. 21 21