Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/git/git
/ grep_lock
Function
grep_lock
builtin/grep.c:87–90 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
85
static pthread_mutex_t grep_mutex;
86
87
static inline void grep_lock(void)
88
{
89
pthread_mutex_lock(&grep_mutex);
90
}
91
92
static inline void grep_unlock(void)
93
{
Callers
4
add_work
Function · 0.85
get_work
Function · 0.85
work_done
Function · 0.85
wait_all
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected