diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-02 10:20:06 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-02 23:41:00 +0100 |
commit | ab4cc02bf87c1b78933c221a29f187d05427ed08 (patch) | |
tree | 322a7d4437dbae4916267a868a1a7fd2d6111fa6 /bitbake/ChangeLog | |
parent | 01c1167336e5e75077ceb46b6cc43981e09317f6 (diff) | |
download | poky-ab4cc02bf87c1b78933c221a29f187d05427ed08.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: bd9d827ae6ef02ec9a0577fb2fd19b830ccb4416)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0926492295d485813d8a4f6b77c7b152e4c5b4c4)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/ChangeLog')
0 files changed, 0 insertions, 0 deletions