EbuildIpcDaemon: use non-blocking write
authorZac Medico <zmedico@gentoo.org>
Thu, 17 Mar 2011 21:39:53 +0000 (14:39 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 18 Mar 2011 19:50:22 +0000 (12:50 -0700)
commit2f3235abef72d61cdcdf549a08e645933698a4ff
tree7bf380e73a7d7835d175cb364bdb60d9b86c6c1b
parent768958c9d1504f72d2f252c1793a5bc48a2a4a85
EbuildIpcDaemon: use non-blocking write

This prevents the Scheduler from hanging if the client is killed before
we can send the reply, as reported by David James:

  http://codereview.chromium.org/6713003

This commit depends on ebuild-ipc (the client) opening the other side
of this fifo before it sends its request, which has already been added
in commit eff879ff0ce7dcc1ce68d5f16de1ec73051f8c18.
pym/_emerge/EbuildIpcDaemon.py