]> 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>
Sat, 1 Dec 2018 11:37:49 +0000 (11:37 +0000)
commit58e48211f7cb44d959b571d449a94291c27535a5
tree230583b1ede34ed4339b514ec5e4cc37b812a75b
parented80e46ccbc8fe8e9148d80723152066fa00ba28
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