pack-objects: document about thread synchronization
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 29 Jul 2018 15:36:05 +0000 (17:36 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Jul 2018 18:28:30 +0000 (11:28 -0700)
commitffbd51cc609eebfd3ce9dd360ef145cfafc2e088
tree8e80f6233337b2f7474545a79d171a382bfb8b87
parent53f9a3e157dbbc901a02ac2c73346d375e24978c
pack-objects: document about thread synchronization

These extra comments should be make it easier to understand how to use
locks in pack-objects delta search code. For reference, see

8ecce684a3 (basic threaded delta search - 2007-09-06)
384b32c09b (pack-objects: fix threaded load balancing - 2007-12-08)
50f22ada52 (threaded pack-objects: Use condition... - 2007-12-16)

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/pack-objects.c