generic-poky/bitbake/lib/prserv
Richard Purdie 6448634205 bitbake: prserv: Fix exit race issues
We shouldn't immediately remove the pid file when stopping the server, if we do, this
causes a traceback within the server itself which can then hang. Fix this by removing
the stale pid file as the last thing we do.

Also:

* don't printing a new "waiting" line every 0.5 seconds.
* make the loop more granular since the user can 'feel' the 0.5 seconds

[YOCTO #5984]

(Bitbake rev: 81f41a806aeddcc38992163557672e296bcbc967)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-30 10:10:36 +01:00
..
__init__.py bitbake: prserv: Drop StandardError usage 2013-05-09 22:28:24 +01:00
db.py bitbake: prserv: Ensure data is committed 2013-09-08 10:51:56 +01:00
serv.py bitbake: prserv: Fix exit race issues 2014-03-30 10:10:36 +01:00