Changes between Version 18 and Version 19 of kernel_locks


Ignore:
Timestamp:
Sep 17, 2015, 2:07:07 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • kernel_locks

    v18 v19  
    3535 * '''mask''' : *ptr <= *ptr & mask
    3636
    37  === __int '''_atomic_test_and_set'''( unsigned int*  shared , unsigned int value ) ===
     37 === __unsigned int '''_atomic_test_and_set'''( unsigned int*  shared , unsigned int value ) ===
    3838This NON-blocking function test the current value of the variable pointed by the <shared> argument.
    3939If the current value is 0, it uses an SC to give atomically a new value to the pointed variable.