Function rdwrl_exit

Function Documentation

void rdwrl_exit(struct rdwrlock *const rdwr, enum rdwrlock_scope scope)

Exit a critical section.

This function is part of a fair (i.e. no rd/wr preference) sequence that guarantees that no reader or write will starve.

Parameters:
  • rdwr – The lock handle.

  • scope – The scope of the privileges requested.