From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason at zx2c4.com (Jason A. Donenfeld) Date: Thu, 16 Jan 2014 22:36:34 +0100 Subject: Policy on global variables In-Reply-To: <20140116213424.GI7608@serenity.lan> References: <20140116005912.GA20306@dcvr.yhbt.net> <20140116104751.GA26678@dcvr.yhbt.net> <20140116130844.GF7608@serenity.lan> <20140116212152.GH7608@serenity.lan> <20140116213424.GI7608@serenity.lan> Message-ID: On Thu, Jan 16, 2014 at 10:34 PM, John Keeping wrote: > > I'm not sure it makes much difference either way. Even if we use > libgit2, providing we're not processing more than one request at once we > can still use a global cgit_context. Well, the idea of moving to libgit2, in the first place, would be to benefit from its reentrancy, so that we could process multiple requests at once (potentially).