Changes between Version 11 and Version 12 of library_locks


Ignore:
Timestamp:
Sep 27, 2015, 12:45:12 PM (9 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • library_locks

    v11 v12  
    1212The '''user_lock_t''' and '''sqt_lock_t''' being shared by several threads, should be defined as a global variable in the application code.
    1313
    14  == Atomic access functions ==
     14 == __Atomic access functions__ ==
    1515
    1616Both types of locks use the atomic_increment() function, that can be directly used by the applications.
     
    2121 * '''increment''' : increment value.
    2222
    23  == Simple lock access functions
     23 == __Simple lock access functions__ ==
    2424
    2525 === '''void lock_init'''( user_lock_t * lock ) ===
     
    3535 * '''lock''' : pointer on the user_lock_t structure.
    3636
    37  == Distributed lock access functions ==
     37 == __Distributed lock access functions__ ==
    3838
    3939The SQT topology is completely defined by the (x_size / y_size) parameters, with the following constraints: