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

Function enable_obj_read_lock

odb.c:513–520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511pthread_mutex_t obj_read_mutex;
512
513void enable_obj_read_lock(void)
514{
515 if (obj_read_use_lock)
516 return;
517
518 obj_read_use_lock = 1;
519 init_recursive_mutex(&obj_read_mutex);
520}
521
522void disable_obj_read_lock(void)
523{

Callers 1

start_threadsFunction · 0.85

Calls 1

init_recursive_mutexFunction · 0.85

Tested by

no test coverage detected