Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/git/git
/ set_thread_data
Function
set_thread_data
builtin/index-pack.c:422–426 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
420
}
421
422
static void set_thread_data(struct thread_local_data *data)
423
{
424
if (threads_active)
425
pthread_setspecific(key, data);
426
}
427
428
static void free_base_data(struct base_data *c)
429
{
Callers
1
threaded_second_pass
Function · 0.85
Calls
1
pthread_setspecific
Function · 0.85
Tested by
no test coverage detected