MCPcopy Index your code
hub / github.com/git/git / obj_read_lock

Function obj_read_lock

odb.h:403–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

401extern pthread_mutex_t obj_read_mutex;
402
403static inline void obj_read_lock(void)
404{
405 if(obj_read_use_lock)
406 pthread_mutex_lock(&obj_read_mutex);
407}
408
409static inline void obj_read_unlock(void)
410{

Callers 11

fill_textconv_grepFunction · 0.85
grep_source_1Function · 0.85
unpack_loose_headerFunction · 0.85
unpack_loose_restFunction · 0.85
get_size_from_deltaFunction · 0.85
unpack_compressed_entryFunction · 0.85
odb_reprepareFunction · 0.85
grep_submoduleFunction · 0.85
prefetch_grep_blobsFunction · 0.85
grep_objectsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected