From: Junio C Hamano Date: Thu, 27 Oct 2016 06:21:51 GMT Subject: Re: [PATCH] compat: Allow static initializer for pthreads on Windows Message-ID: In-Reply-To: <67e38b43-0264-12f2-cca8-4b718ed7dc9d@kdbg.org> Johannes Sixt writes: >> As many codepaths may not even need access to the attributes, I >> doubt that would be a very productive direction to go. > > So, what is productive then? Pessimizing one (not exactly minor) platform? Lazy on-demand initialization as needed, perhaps? The on-demand initialization mechanism may become no-op on some platforms that can do static initialization.