Skip to content
Snippets Groups Projects
Commit d3062e61 authored by Tim Wickberg's avatar Tim Wickberg
Browse files

Add verify_lock() function.

Allows for annotations such as
xassert(verify_lock(CONFIG_LOCK, READ_LOCK));
to ensure that the calling thread has the correct locks in
place to head off potential race conditions / corruption.
parent 4167c253
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