Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
0450e313
Commit
0450e313
authored
Dec 05, 2020
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: ifdef out unused function in no-thread builds
parent
fe07ef8a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
tests/pack/threadsafety.c
+2
-0
No files found.
tests/pack/threadsafety.c
View file @
0450e313
...
@@ -20,6 +20,7 @@ void test_pack_threadsafety__cleanup(void)
...
@@ -20,6 +20,7 @@ void test_pack_threadsafety__cleanup(void)
cl_git_pass
(
git_libgit2_opts
(
GIT_OPT_SET_MWINDOW_FILE_LIMIT
,
original_mwindow_file_limit
));
cl_git_pass
(
git_libgit2_opts
(
GIT_OPT_SET_MWINDOW_FILE_LIMIT
,
original_mwindow_file_limit
));
}
}
#ifdef GIT_THREADS
static
void
*
get_status
(
void
*
arg
)
static
void
*
get_status
(
void
*
arg
)
{
{
const
char
*
repo_path
=
(
const
char
*
)
arg
;
const
char
*
repo_path
=
(
const
char
*
)
arg
;
...
@@ -33,6 +34,7 @@ static void *get_status(void *arg)
...
@@ -33,6 +34,7 @@ static void *get_status(void *arg)
return
NULL
;
return
NULL
;
}
}
#endif
void
test_pack_threadsafety__open_repo_in_multiple_threads
(
void
)
void
test_pack_threadsafety__open_repo_in_multiple_threads
(
void
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment