Changes between Version 11 and Version 12 of library_locks
- Timestamp:
- Sep 27, 2015, 12:45:12 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
library_locks
v11 v12 12 12 The '''user_lock_t''' and '''sqt_lock_t''' being shared by several threads, should be defined as a global variable in the application code. 13 13 14 == Atomic access functions==14 == __Atomic access functions__ == 15 15 16 16 Both types of locks use the atomic_increment() function, that can be directly used by the applications. … … 21 21 * '''increment''' : increment value. 22 22 23 == Simple lock access functions23 == __Simple lock access functions__ == 24 24 25 25 === '''void lock_init'''( user_lock_t * lock ) === … … 35 35 * '''lock''' : pointer on the user_lock_t structure. 36 36 37 == Distributed lock access functions==37 == __Distributed lock access functions__ == 38 38 39 39 The SQT topology is completely defined by the (x_size / y_size) parameters, with the following constraints: