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

Function grep_attr_lock

grep.c:1317–1321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1315pthread_mutex_t grep_attr_mutex;
1316
1317static inline void grep_attr_lock(void)
1318{
1319 if (grep_use_locks)
1320 pthread_mutex_lock(&grep_attr_mutex);
1321}
1322
1323static inline void grep_attr_unlock(void)
1324{

Callers 2

grep_source_1Function · 0.85
grep_source_load_driverFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected