Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] Re: [PATCH] bin/ebuild-ipc.py: use threading if available
Date: Thu, 09 Oct 2014 18:56:59
Message-Id: 5436DA74.4070405@gentoo.org
In Reply to: [gentoo-portage-dev] Re: [PATCH] bin/ebuild-ipc.py: use threading if available by Zac Medico
1 On 10/08/2014 09:18 PM, Zac Medico wrote:
2 > Subject: [PATCH] bin/ebuild-ipc.py: use threading if available
3 >
4 > If threading is available then use a thread instead of a fork for
5 > writing to the fifo. This has the advantage of avoiding a possible
6 > python futex deadlock following fork as reported in bug #524328.
7 >
8 > X-Gentoo-Bug: 524328
9 > X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=524328
10
11 I'm abandoning the threading patch, in favor a new patch posted as
12 "[PATCH] bin/ebuild-ipc.py: nonblocking fifo write". The nonblocking
13 approach seems superior, since it doesn't required a thread or a fork.
14
15 Thought I don't think we'll want to use it, the threading patch is still
16 available in this branch:
17
18 https://github.com/zmedico/portage/tree/bug_524328_threading
19 --
20 Thanks,
21 Zac