diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-03-17 14:12:13 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-03-18 12:50:14 -0700 |
commit | 768958c9d1504f72d2f252c1793a5bc48a2a4a85 (patch) | |
tree | b5d66a46683197736331029a4b1da01a4a66f407 /pym/_emerge | |
parent | f72d4b20478a33da08dd30f399b3a55cc7a9dda4 (diff) | |
download | portage-768958c9d1504f72d2f252c1793a5bc48a2a4a85.tar.gz portage-768958c9d1504f72d2f252c1793a5bc48a2a4a85.tar.bz2 portage-768958c9d1504f72d2f252c1793a5bc48a2a4a85.zip |
ebuild-ipc: use non-blocking read
This makes it possible for the daemon to send a reply without blocking,
thereby improving performance and also making it possible for the
daemon to do a non-blocking write without a race condition.
This reverts part of commit 81fc303212b8379219cf5d463c8717359b972dba,
which probably didn't help portability anyway. Now, ebuild-ipc is using
non-blocking read with os.read and EAGAIN handling, just like
EbuildIpcDaemon since commit 7e5b81da12dd7bd59f6620840dc0d824e3f4d69a
(known compatible with FreeBSD).
Diffstat (limited to 'pym/_emerge')
0 files changed, 0 insertions, 0 deletions