]> code.ossystems Code Review - openembedded-core.git/commit
scripts/runqemu: Tidy up lock handling code
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Nov 2018 17:30:10 +0000 (17:30 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Dec 2018 10:13:41 +0000 (10:13 +0000)
commit2728394ed75526f338cc9cb6bc62fb0ed6dc605f
tree3b7ef3d1ec5235fcc8d1e6d2a8e9c8a38493b30c
parent4ba803d9834565cbe9a89838eb2fcf0328c44bef
scripts/runqemu: Tidy up lock handling code

Various tweaks:
- Balance up the aquire/release functions
- Use debug messge for both acquiring and release message for consistency in logs
- Use None instead of an empty string
- Reset the value of the field if we don't have the lock any more

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu