From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7D6011382C5 for ; Sat, 21 Apr 2018 08:28:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7EC41E0857; Sat, 21 Apr 2018 08:28:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4FC86E0856 for ; Sat, 21 Apr 2018 08:28:20 +0000 (UTC) Received: from localhost.localdomain (ip68-4-233-67.oc.oc.cox.net [68.4.233.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: zmedico) by smtp.gentoo.org (Postfix) with ESMTPSA id 79E3A335C73; Sat, 21 Apr 2018 08:28:19 +0000 (UTC) From: Zac Medico To: gentoo-portage-dev@lists.gentoo.org Cc: Zac Medico Subject: [gentoo-portage-dev] [PATCH 0/6] EbuildBuildDir: add async_lock method (bug 614112) Date: Sat, 21 Apr 2018 01:24:34 -0700 Message-Id: <20180421082440.32706-1-zmedico@gentoo.org> X-Mailer: git-send-email 2.13.6 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org X-Archives-Salt: f8332a5c-ff59-4537-a45e-10504a87d57a X-Archives-Hash: ab45c90e7f0e9faab45614be43d64db6 Asynchronoulsy handle locking of both the category directory and build directory. Bug: https://bugs.gentoo.org/614112 Zac Medico (6): EbuildBuildDir: add async_lock method (bug 614112) AbstractEbuildProcess: use async_lock (bug 614112) Binpkg: use async_lock (bug 614112) EbuildBuild: use async_lock (bug 614112) PackageUninstall: use async_lock (bug 614112) EbuildBuildDir: remove synchronous lock method (bug 614112) pym/_emerge/AbstractEbuildProcess.py | 30 +++++++- pym/_emerge/Binpkg.py | 16 +++- pym/_emerge/EbuildBuild.py | 7 +- pym/_emerge/EbuildBuildDir.py | 115 +++++++++++++++++----------- pym/_emerge/PackageUninstall.py | 8 +- pym/_emerge/Scheduler.py | 2 +- pym/portage/dbapi/vartree.py | 2 +- pym/portage/package/ebuild/doebuild.py | 9 ++- pym/portage/tests/ebuild/test_ipc_daemon.py | 2 +- 9 files changed, 133 insertions(+), 58 deletions(-) -- 2.13.6