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/mwindow.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/mwindow.h')
-rw-r--r-- | src/mwindow.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mwindow.h b/src/mwindow.h index ec75f901f..11c3aa840 100644 --- a/src/mwindow.h +++ b/src/mwindow.h @@ -10,7 +10,6 @@ #include "map.h" #include "vector.h" -#include "fileops.h" typedef struct git_mwindow { struct git_mwindow *next; @@ -29,8 +28,6 @@ typedef struct git_mwindow_file { typedef struct git_mwindow_ctl { size_t mapped; unsigned int open_windows; - size_t window_size; /* needs default value */ - size_t mapped_limit; /* needs default value */ unsigned int mmap_calls; unsigned int peak_open_windows; size_t peak_mapped; |