Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
capnproto
Commits
cb17739b
Commit
cb17739b
authored
Oct 31, 2015
by
Kenton Varda
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #256 from dwrensha/typo
Fix some documentation typos.
parents
3adcf4a1
7dd8dd17
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
capability.h
c++/src/capnp/capability.h
+2
-2
membrane.h
c++/src/capnp/membrane.h
+2
-2
async-unix.h
c++/src/kj/async-unix.h
+2
-2
No files found.
c++/src/capnp/capability.h
View file @
cb17739b
...
...
@@ -105,7 +105,7 @@ class Request: public Params::Builder {
// structure with a method send() that actually sends it.
//
// Given a Cap'n Proto method `foo(a :A, b :B): C`, the generated client interface will have
// a method `Request<FooParams, C>
startFoo
()` (as well as a convenience method
// a method `Request<FooParams, C>
fooRequest
()` (as well as a convenience method
// `RemotePromise<C> foo(A::Reader a, B::Reader b)`).
public
:
...
...
@@ -298,7 +298,7 @@ public:
//
// Keep in mind that asynchronous cancellation cannot occur while the method is synchronously
// executing on a local thread. The method must perform an asynchronous operation or call
// `EventLoop::current().
run
Later()` to yield control.
// `EventLoop::current().
eval
Later()` to yield control.
//
// Note: You might think that we should offer `onCancel()` and/or `isCanceled()` methods that
// provide notification when the caller cancels the request without forcefully killing off the
...
...
c++/src/capnp/membrane.h
View file @
cb17739b
...
...
@@ -71,7 +71,7 @@ public:
// - Throw an exception to cause the call to fail with that exception.
//
// `target` is the underlying capability (*inside* the membrane) for which the call is destined.
// Generally, the only way you should use `target` is to wrap it in some cap
ba
ility which you
// Generally, the only way you should use `target` is to wrap it in some cap
ab
ility which you
// return as a redirect. The redirect capability may modify the call in some way and send it to
// `target`. Be careful to use `copyIntoMembrane()` and `copyOutOfMembrane()` as appropriate when
// copying parameters or results across the membrane.
...
...
@@ -107,7 +107,7 @@ public:
};
Capability
::
Client
membrane
(
Capability
::
Client
inner
,
kj
::
Own
<
MembranePolicy
>
policy
);
// Wrap `inner` in a membrane specified by `
filter
`. `inner` is considered "inside" the membrane,
// Wrap `inner` in a membrane specified by `
policy
`. `inner` is considered "inside" the membrane,
// while the returned capability should only be called from outside the membrane.
Capability
::
Client
reverseMembrane
(
Capability
::
Client
outer
,
kj
::
Own
<
MembranePolicy
>
policy
);
...
...
c++/src/kj/async-unix.h
View file @
cb17739b
...
...
@@ -146,8 +146,8 @@ class UnixEventPort::FdObserver {
// else, it means that read() (or recv()) will return data.
//
// The presence of out-of-band data should NOT fire this event. However, the event may
// occasionally fire spur
r
iously (when there is actually no data to read), and one thing that can
// cause such spur
r
ious events is the arrival of OOB data on certain platforms whose event
// occasionally fire spuriously (when there is actually no data to read), and one thing that can
// cause such spurious events is the arrival of OOB data on certain platforms whose event
// interfaces fail to distinguish between regular and OOB data (e.g. Mac OSX).
//
// WARNING: The exact behavior of this class differs across systems, since event interfaces
...
...
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