From: Junio C Hamano Date: Wed, 24 Mar 2010 18:44:45 GMT Subject: Re: [PATCH 1/2] Make xmalloc and xrealloc thread-safe Message-ID: <7vaatxk19e.fsf@alter.siamese.dyndns.org> In-Reply-To: Shawn Pearce writes: > I thought pack-objects did all object access from the main thread and > only delta searches on the worker threads? Hmm, you lost me. try_delta() is the one that reads the data out of either loose object or from an existing pack for comparison lazily, and that is what each worker thread runs repeatedly in find_deltas()...