Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chuck cranor
margo
Commits
d3470b85
Commit
d3470b85
authored
Nov 13, 2015
by
Philip Carns
Browse files
update my-rpc implementation
parent
dd73bca0
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/my-rpc.c
View file @
d3470b85
...
...
@@ -52,7 +52,7 @@ static void my_rpc_ult(void *_arg)
assert
(
ret
==
0
);
/* do bulk transfer from client to server */
ret
=
hg
argo_bulk_transfer
(
hgi
->
bulk_context
,
HG_BULK_PULL
,
ret
=
m
argo_bulk_transfer
(
hgi
->
bulk_context
,
HG_BULK_PULL
,
hgi
->
addr
,
in
.
bulk_handle
,
0
,
bulk_handle
,
0
,
size
);
assert
(
ret
==
0
);
...
...
@@ -87,7 +87,7 @@ hg_id_t my_rpc_register(void)
hg_class_t
*
hg_class
;
hg_id_t
tmp
;
hg_class
=
hg
argo_get_class
();
hg_class
=
m
argo_get_class
();
tmp
=
MERCURY_REGISTER
(
hg_class
,
"my_rpc"
,
my_rpc_in_t
,
my_rpc_out_t
,
my_rpc_ult_handler
);
...
...
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