Date: Wed, 17 May 2006 09:50:27 -0400 From: Vivek Khera <vivek@khera.org> To: ports@freebsd.org Subject: Re: Is it safe to compile multiple ports at the same time ? Message-ID: <66F2413E-5D81-4BD6-B842-104A449E4753@khera.org> In-Reply-To: <20060517060026.GA40653@qlovarnika.bg.datamax> References: <200605171353.37745.paul.koch@statseeker.com> <20060517045403.GI1113@k7.mavetju> <200605171508.07228.paul.koch@statseeker.com> <20060517060026.GA40653@qlovarnika.bg.datamax>
next in thread | previous in thread | raw e-mail | index | archive | help
On May 17, 2006, at 2:00 AM, Vasil Dimov wrote: > Ofcourse if B depends also on Y it can fallback to building Y if it > cannot gain exclusive lock on X. If you do that, then you get a lock on Y, which may also happen to be a dependency of X, and now you have deadlock. You also need to ensure that all ports specify dependencies in the same order (or at least take the locks in the same order) else you will deadlock at some point if you allow the port to take more than one lock at a time.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?66F2413E-5D81-4BD6-B842-104A449E4753>