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

Function in_async

run-command.c:1086–1091  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1084}
1085
1086int in_async(void)
1087{
1088 if (!main_thread_set)
1089 return 0; /* no asyncs started yet */
1090 return !pthread_equal(main_thread, pthread_self());
1091}
1092
1093static void NORETURN async_exit(int code)
1094{

Callers 3

get_trace_prefixFunction · 0.85
die_asyncFunction · 0.85
check_pipeFunction · 0.85

Calls 1

pthread_selfFunction · 0.85

Tested by

no test coverage detected