mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-03 13:01:14 +00:00
commit
0d2f6824eb
@ -14,7 +14,7 @@ GIT_BEGIN_DECL
|
|||||||
/**
|
/**
|
||||||
* Init the global state
|
* Init the global state
|
||||||
*
|
*
|
||||||
* This function must the called before any other libgit2 function in
|
* This function must be called before any other libgit2 function in
|
||||||
* order to set up global state and threading.
|
* order to set up global state and threading.
|
||||||
*
|
*
|
||||||
* This function may be called multiple times - it will return the number
|
* This function may be called multiple times - it will return the number
|
||||||
|
@ -19,7 +19,9 @@ static git_repository *_repo;
|
|||||||
static git_tree *_a, *_b;
|
static git_tree *_a, *_b;
|
||||||
static git_atomic _counts[4];
|
static git_atomic _counts[4];
|
||||||
static int _check_counts;
|
static int _check_counts;
|
||||||
|
#ifdef GIT_WIN32
|
||||||
static int _retries;
|
static int _retries;
|
||||||
|
#endif
|
||||||
|
|
||||||
#define THREADS 20
|
#define THREADS 20
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user