Browse Source
A mutex and a condition variable is allocated for each thread and torn down when the thread terminates. However, for certain workloads it can happen that some threads are actually not started at all. In this case we would leak the mutex and condition variable. Now we allocate them only for those threads that are actually started. Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
Johannes Sixt
17 years ago
committed by
Junio C Hamano
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue