Am 27.10.2016 um 08:21 schrieb Junio C Hamano:
Johannes Sixt <j...@kdbg.org> 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.

This is the pessimization that I am talking about. I would not mind at all if it were only for the attribute subsystem, but the proposed patch would pessimize *all* uses of pthread_mutex_lock.

-- Hannes

Reply via email to