Skip to content
Snippets Groups Projects
Commit b1d56130 authored by Lubos Slovak's avatar Lubos Slovak
Browse files

Item rwlocks standalone implementation.

Added structure irwl_table which holds table of locks (type
  irwl_lock) of arbitrary items identified by a pointer.
Implemented read locking, write locking, unlocking, creation
  and destruction of the structure.
Implementation uses mutex associated with the table to prevent
  race conditions while locking/unlocking.
parent 32321fb2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment