Skip to content
Snippets Groups Projects
Commit 6e8a355d authored by Daniel Brodsky's avatar Daniel Brodsky Committed by Stefan Hajnoczi
Browse files

lockable: replaced locks with lock guard macros where appropriate


- ran regexp "qemu_mutex_lock\(.*\).*\n.*if" to find targets
- replaced result with QEMU_LOCK_GUARD if all unlocks at function end
- replaced result with WITH_QEMU_LOCK_GUARD if unlock not at end

Signed-off-by: default avatarDaniel Brodsky <dnbrdsky@gmail.com>
Reviewed-by: default avatarJuan Quintela <quintela@redhat.com>
Message-id: 20200404042108.389635-3-dnbrdsky@gmail.com
Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
parent 56f21718
No related branches found
No related tags found
No related merge requests found
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