]> code.ossystems Code Review - openembedded-core.git/commit
pseudo: Fix race problems
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Sep 2013 17:01:29 +0000 (17:01 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Sep 2013 21:56:02 +0000 (22:56 +0100)
commita8a1f12c51ffdca011db194894fd7d14c119fb09
treee2a5a3fcc97079867fbc5f31c6e36172bfbc56cf
parent5dc43cdc08e6698afa16ba79f3506a1555bb3710
pseudo: Fix race problems

There is a potential issue with the fastop code in pseudo since a process may
exit and allow some other function to run before the server has processed
the commands run by the process. Issues have been see with unpredictable
file permissions.

To avoid this, we ping the server before exitting which guarantees it has
processed the current command queue.

The patch was written by peter.seebach@windriver.com

[YOCTO #5132]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/pseudo/files/shutdownping.patch [new file with mode: 0644]
meta/recipes-devtools/pseudo/pseudo_1.5.1.bb