Skip to content
  • rahix's avatar
    feat(hw-locks): Introduce new hw-lock API · 605d5e56
    rahix authored
    
    
    Re-add a `hwlock_acquire()` method, but this time without a timeout
    parameter.  From a functional point of view, this is just a wrapper
    around `mutex_lock()`.
    
    Additionally, add `hwlock_acquire_nonblock()` which behaves like
    `mutex_trylock()`.
    
    Signed-off-by: default avatarRahix <rahix@rahix.de>
    605d5e56