Changes between Version 12 and Version 13 of kernel_locks


Ignore:
Timestamp:
Jan 19, 2015, 3:17:52 PM (9 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • kernel_locks

    v12 v13  
    1717The '''simple_lock_t''', '''sbt_lock_t''', and '''spin_lock_t''' structures are implemented to have one single lock in a 64 bytes cache line, and should be aligned on a cache line boundary.
    1818
    19 == Atomic access functions ==
     19== Atomic access function ==
    2020
    2121 === unsigned int '''_atomic_increment'''( unsigned int * shared , unsigned int increment ) ===
     
    2323 * '''shared''' : pointer on the shared variable
    2424 * '''increment''' : increment value
     25It returns the value of the shared variable before increment.
    2526
    2627== Simple lock access functions ==