On Dienstag, 21. Dezember 2010, Junio C Hamano wrote: > A more interesting topic is why the try-to-free-pack-memory logic needs to > be disabled in the first place. 3a09425 (Do not call release_pack_memory > in malloc wrappers when GIT_TRACE is used, 2010-05-08) explains that it is > to avoid a race on Windows, and it looks like a workaround not a solution > ("can be called without locking"---"why aren't we locking then?"). > > Not that it matters in the context of "trace", which is a debugging > facility, that this is a workaround. Exactly. A clean implementation is not worth the effort for this debugging facility. BTW, these days it is not just Windows that is affected because we use threads in start_async everywhere if possible. -- Hannes -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html