MCPcopy Create free account
hub / github.com/git/git / packing_data_lock

Function packing_data_lock

pack-objects.h:189–192  ·  view source on GitHub ↗

Protect access to object database */

Source from the content-addressed store, hash-verified

187
188/* Protect access to object database */
189static inline void packing_data_lock(struct packing_data *pdata)
190{
191 pthread_mutex_lock(&pdata->odb_lock);
192}
193static inline void packing_data_unlock(struct packing_data *pdata)
194{
195 pthread_mutex_unlock(&pdata->odb_lock);

Callers 3

oe_set_delta_sizeFunction · 0.85
oe_get_size_slowFunction · 0.85
try_deltaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected