]> 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:49 +0000 (10:13 +0000)
commitd3c052e6ccd81d544b23a3bee80ba00cafaedbbd
tree0c7ffda714ee0f30445f384086ed9e10a5235768
parent1c61f3017a6a2d95747883c722c376763ec77c9d
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