Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Joshua
wendelin.core
Commits
e9932145
Commit
e9932145
authored
Mar 02, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
52f099c7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
wcfs/client/wcfs.cpp
wcfs/client/wcfs.cpp
+2
-8
No files found.
wcfs/client/wcfs.cpp
View file @
e9932145
...
...
@@ -117,7 +117,7 @@
//
// XXX locking -> explain atMu + slaves and refer to "Locking" in wcfs.go
//
// Conn.atMu > Conn.
m
u > FileH.mu
// Conn.atMu > Conn.
filehM
u > FileH.mu
//
// Several locks are RWMutex instead of just Mutex not only to allow more
// concurrency, but, in the first place for correctness: pinner thread being
...
...
@@ -141,7 +141,7 @@
// similar to the above. This locks are:
//
// - Conn.atMu
// - Conn.
m
u
// - Conn.
filehM
u
//
// XXX pinner takes the following locks (XXX recheck)
//
...
...
@@ -153,12 +153,6 @@
// - fileh.mu (R:.mmaps W:.pinned)
//
// - virt_lock
//
//
// XXX lock order
//
// Conn.atMu > Conn.filehMu > FileH.mu
//
#include "wcfs_misc.h"
...
...
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