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
4dcd2044
Commit
4dcd2044
authored
Feb 21, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
a5758836
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
wcfs/client/wcfs.cpp
wcfs/client/wcfs.cpp
+9
-1
No files found.
wcfs/client/wcfs.cpp
View file @
4dcd2044
...
@@ -45,8 +45,15 @@
...
@@ -45,8 +45,15 @@
// Wcfs client implements pins handling in so-called "pinner" thread(+). The
// Wcfs client implements pins handling in so-called "pinner" thread(+). The
// pinner thread receives pin requests from wcfs server via watchlink handle
// pinner thread receives pin requests from wcfs server via watchlink handle
// opened through wcfs/head/watch. For every pin request the pinner finds
// opened through wcfs/head/watch. For every pin request the pinner finds
// corresponding mappings and injects wcfs/@revX/f parts appropriately.
// corresponding mappings and injects wcfs/@revX/f parts into the mappings
// appropriately.
//
//
// The same watchlink handle is used to send client-originated requests to wcfs
// server. The requests are sent to tell wcfs that client wants to observe a
// particular bigfile as of particular revision, or stop watching for it.
//
//
// Every FileH maintains
//
//
//
//
//
//
...
@@ -83,6 +90,7 @@
...
@@ -83,6 +90,7 @@
// (+) currently, for simplicity, there is one pinner for each connection. In
// (+) currently, for simplicity, there is one pinner for each connection. In
// the future, for efficiency, it might be reworked to be one pinner thread
// the future, for efficiency, it might be reworked to be one pinner thread
// that serves all connections simultaneously.
// that serves all connections simultaneously.
// XXX (wcfs client-level file handle - see package overview) ?
// XXX locking -> explain atMu + slaves and refer to "Locking" in wcfs.go
// XXX locking -> explain atMu + slaves and refer to "Locking" in wcfs.go
//
//
...
...
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