Changes between Version 14 and Version 15 of kernel_locks


Ignore:
Timestamp:
Jan 24, 2015, 4:45:19 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • kernel_locks

    v14 v15  
    3737== Queuing Lock Access functions ==
    3838
    39  === void '''_lock_init'''( spin_lock_t * lock ) ===
    40 This function initializes the lock ticket allocator.
     39 === void '''_spin_lock_init'''( spin_lock_t * lock ) ===
     40This function initializes the spin_lock ticket allocator.
    4141
    42  === void '''_lock_acquire'''( spin_lock_t * lock ) ===
    43 This blocking function uses the atomic_increment() function, to implement a ticket allocator and provide ordered access to the protected resource. It returns only when the lock as been granted.
     42 === void '''_spin_lock_acquire'''( spin_lock_t * lock ) ===
     43This blocking function uses the atomic_increment() function, to implement a ticket allocator and provide ordered access to the lock. It returns only when the lock as been granted.
    4444
    45  === void '''_lock_release'''( spin_lock_t * lock ) ===
     45 === void '''_spin_lock_release'''( spin_lock_t * lock ) ===
    4646This function releases the lock, but cannot be used for lock initialisation. It must always be called after a successful _lock_acquire().
    4747