]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: serv/db: Take an excluside lock on the database
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 31 Aug 2013 22:42:57 +0000 (23:42 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 1 Sep 2013 14:51:11 +0000 (15:51 +0100)
commit883813deae842c25d9172aeceb5302fdec1258df
treebf9d8dcaba67587b734617b12e78232ea2f968a0
parent3e5abff7da73fe35842c06cd85e2a4f50c4efa05
bitbake: serv/db: Take an excluside lock on the database

We only support one server using the database at a time so take an exclusive
lock and avoid later lock overhead.

(Bitbake rev: e3e39be6f2d063858c92971ce8ccd89c95d4f26d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/prserv/db.py