diff options
| author | Vicent Marti <tanoku@gmail.com> | 2011-11-16 14:09:44 +0100 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2011-11-16 14:09:44 +0100 |
| commit | a15c550db8b0552902e58c9bf2194005fb7fb0e9 (patch) | |
| tree | b33084b89561613dc8c9592c18b1dedcc8b06375 /src/common.h | |
| parent | b0b2dd5ecc2d309875e8dcd744fa5ff0a55b8fe5 (diff) | |
| download | libgit2-a15c550db8b0552902e58c9bf2194005fb7fb0e9.tar.gz | |
threads: Fix the shared global state with TLS
See `global.c` for a description of what we're doing.
When libgit2 is built with GIT_THREADS support, the threading system
must be explicitly initialized with `git_threads_init()`.
Diffstat (limited to 'src/common.h')
| -rw-r--r-- | src/common.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h index f7a41d47e..727a08e77 100644 --- a/src/common.h +++ b/src/common.h @@ -8,7 +8,6 @@ #define INCLUDE_common_h__ #include "git2/common.h" -#include "git2/thread-utils.h" #include "cc-compat.h" #include <assert.h> |
