Skip to content
GitLab
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
0e1703d2
Commit
0e1703d2
authored
Jan 13, 2016
by
Rob Latham
Browse files
switch a reference from 'argo' to 'margo'
parent
2cae674d
Changes
3
Hide whitespace changes
Inline
Side-by-side
examples/my-rpc.c
View file @
0e1703d2
...
...
@@ -83,4 +83,4 @@ static void my_rpc_ult(void *_arg)
return
;
}
DEFINE_ARGO_RPC_HANDLER
(
my_rpc_ult
)
DEFINE_
M
ARGO_RPC_HANDLER
(
my_rpc_ult
)
examples/my-rpc.h
View file @
0e1703d2
...
...
@@ -15,6 +15,6 @@ MERCURY_GEN_PROC(my_rpc_out_t, ((int32_t)(ret)))
MERCURY_GEN_PROC
(
my_rpc_in_t
,
((
int32_t
)(
input_val
))
\
((
hg_bulk_t
)(
bulk_handle
)))
DECLARE_ARGO_RPC_HANDLER
(
my_rpc_ult
)
DECLARE_
M
ARGO_RPC_HANDLER
(
my_rpc_ult
)
#endif
/* __MY_RPC */
include/margo.h
View file @
0e1703d2
...
...
@@ -108,7 +108,7 @@ margo_instance_id margo_hg_class_to_instance(hg_class_t *cl);
* macro that defines a function to glue an RPC handler to a fiber
* @param [in] __name name of handler function
*/
#define DEFINE_ARGO_RPC_HANDLER(__name) \
#define DEFINE_
M
ARGO_RPC_HANDLER(__name) \
hg_return_t __name##_handler(hg_handle_t handle) { \
int __ret; \
ABT_pool* __pool; \
...
...
@@ -132,7 +132,7 @@ hg_return_t __name##_handler(hg_handle_t handle) { \
* handler to a fiber
* @param [in] __name name of handler function
*/
#define DECLARE_ARGO_RPC_HANDLER(__name) hg_return_t __name##_handler(hg_handle_t handle);
#define DECLARE_
M
ARGO_RPC_HANDLER(__name) hg_return_t __name##_handler(hg_handle_t handle);
#ifdef __cplusplus
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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