diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-21 13:53:59 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-23 11:31:58 +0000 |
commit | 8da8a0e55e7191b81e6e0fd1d2d4f0937ba7b0ac (patch) | |
tree | fe93515c98838fc47abb94715f17607f85f3102e /meta-yocto/conf/distro/include/upstream_tracking.inc | |
parent | 6abcc6118d068266947d6fd5acf78f744ec02cb6 (diff) | |
download | poky-8da8a0e55e7191b81e6e0fd1d2d4f0937ba7b0ac.tar.gz |
bitbake: prserv/serv: Improve exit handling
Currently, I'm not sure how the prserver managed to shut down cleanly. These
issues may explain some of the hangs people have reported.
This change:
* Ensures the connection acceptance thread monitors self.quit
* We wait for the thread to exit before exitting
* We sync the database when the thread exits
* We do what the comment mentions, timeout after 30s and sync the database
if needed. Previously, there was no timeout (the 0.5 applies to sockets,
not the Queue object)
(Bitbake rev: 0926492295d485813d8a4f6b77c7b152e4c5b4c4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto/conf/distro/include/upstream_tracking.inc')
0 files changed, 0 insertions, 0 deletions