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
sds
margo
Commits
070a14da
Commit
070a14da
authored
Apr 19, 2017
by
Shane Snyder
Browse files
update to const hg_info retval
parent
615b275d
Changes
3
Hide whitespace changes
Inline
Side-by-side
examples/margo-example-client.c
View file @
070a14da
...
...
@@ -192,7 +192,7 @@ static void run_my_rpc(void *_arg)
int
ret
;
hg_size_t
size
;
void
*
buffer
;
struct
hg_info
*
hgi
;
const
struct
hg_info
*
hgi
;
printf
(
"ULT [%d] running.
\n
"
,
arg
->
val
);
...
...
examples/my-rpc.c
View file @
070a14da
...
...
@@ -27,7 +27,7 @@ static void my_rpc_ult(hg_handle_t handle)
hg_size_t
size
;
void
*
buffer
;
hg_bulk_t
bulk_handle
;
struct
hg_info
*
hgi
;
const
struct
hg_info
*
hgi
;
#if 0
int fd;
char filename[256];
...
...
@@ -88,7 +88,7 @@ DEFINE_MARGO_RPC_HANDLER(my_rpc_ult)
static
void
my_rpc_shutdown_ult
(
hg_handle_t
handle
)
{
hg_return_t
hret
;
struct
hg_info
*
hgi
;
const
struct
hg_info
*
hgi
;
margo_instance_id
mid
;
printf
(
"Got RPC request to shutdown
\n
"
);
...
...
include/margo.h
View file @
070a14da
...
...
@@ -199,7 +199,7 @@ hg_return_t __name##_handler(hg_handle_t handle) { \
int __ret; \
ABT_pool* __pool; \
margo_instance_id __mid; \
struct hg_info *__hgi; \
const
struct hg_info *__hgi; \
__hgi = HG_Get_info(handle); \
__mid = margo_hg_class_to_instance(__hgi->hg_class); \
__pool = margo_get_handler_pool(__mid); \
...
...
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