Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
neoppod
Commits
96080842
Commit
96080842
authored
Jul 09, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
ed46b665
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
go/zodb/storage/zeo/zrpc.go
go/zodb/storage/zeo/zrpc.go
+3
-0
No files found.
go/zodb/storage/zeo/zrpc.go
View file @
96080842
...
...
@@ -80,6 +80,7 @@ type zLink struct {
// (called after handshake)
func
(
zl
*
zLink
)
start
()
{
zl
.
callTab
=
make
(
map
[
int64
]
chan
msg
)
zl
.
serveCtx
,
zl
.
serveCancel
=
context
.
WithCancel
(
context
.
Background
())
zl
.
serveWg
.
Add
(
1
)
go
zl
.
serveRecv
()
}
...
...
@@ -288,12 +289,14 @@ func (zl *zLink) reply(msgid int64, res interface{}) (err error) {
return
zl
.
sendPkt
(
pkb
)
}
/*
// RegisterMethod registers f to be called when remote XXX
// FIXME -> provide methodTable to dial, so that it is available right from start without any race
func (zl *zLink) RegisterMethod(method string, f func(arg interface{})) {
// XXX only "async" (without reply)
// XXX
}
*/
// ---- raw IO ----
...
...
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