diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-07-12 21:29:00 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-07-19 16:22:12 +0100 |
commit | e0ef31f1d211ee70d193e3c39e4de7c8fd463f80 (patch) | |
tree | 51e73c7600df767ede7c0b58b65b1e19916a6c1b /documentation/bsp-guide/bsp-guide.xml | |
parent | 2add0d0cea70329f807b43765ea3da1b1600bc98 (diff) | |
download | poky-e0ef31f1d211ee70d193e3c39e4de7c8fd463f80.tar.gz |
bitbake: server/process: Ensure UI-less servers don't sit in infinite loops
If server startup is broken for some reason (e.g. lockfile issues)
and no UI connection is made, the server will just sit inifinitely
waiting.
Add a timeout upon startup in the non-memory resident case so that
such infinite waits are avoided. In the memory resident case, the
server wouldn't have shut down in the first place or will timeout
according to configuration.
Since any race may mean the socket file is no longer present, ensure
the unlink doesn't fault upon exit, thus ensuring any hashequiv or
PRServ is removed from memory, allowing all processes to exit
cleanly in such scenarios.
(Bitbake rev: 81cad9b8c4df15218d1a419c6b8e3ac73b54600c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 39888b750df12478e8bdea6727cca112dce1df85)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/bsp-guide/bsp-guide.xml')
0 files changed, 0 insertions, 0 deletions