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
a3776489
Commit
a3776489
authored
Dec 28, 2015
by
Carlos Martín Nieto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3558 from libgit2/cmn/index-nolock
index: get rid of the locking
parents
ccad5a99
9d81509a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
131 deletions
+15
-131
src/index.c
+15
-130
src/index.h
+0
-1
No files found.
src/index.c
View file @
a3776489
This diff is collapsed.
Click to expand it.
src/index.h
View file @
a3776489
...
...
@@ -28,7 +28,6 @@ struct git_index {
git_vector
entries
;
git_idxmap
*
entries_map
;
git_mutex
lock
;
/* lock held while entries is being changed */
git_vector
deleted
;
/* deleted entries if readers > 0 */
git_atomic
readers
;
/* number of active iterators */
...
...
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