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
sds
margo
Commits
9aae0c3d
Commit
9aae0c3d
authored
May 22, 2017
by
Philip Carns
Browse files
pause between steps to ease debugging
parent
c1e899a1
Changes
1
Show whitespace changes
Inline
Side-by-side
examples/composition/composed-benchmark.c
View file @
9aae0c3d
...
...
@@ -101,17 +101,23 @@ int main(int argc, char **argv)
data_xfer_read
(
mid
,
data_xfer_svr_addr
,
buffer
,
buffer_sz
);
printf
(
"DBG: ... DONE.
\n
"
);
sleep
(
3
);
printf
(
"DBG: calling composed_read.
\n
"
);
composed_read
(
mid
,
delegator_svr_addr
,
buffer
,
buffer_sz
,
argv
[
2
]);
printf
(
"DBG: ... DONE.
\n
"
);
/* send rpc(s) to shut down server(s) */
sleep
(
3
);
printf
(
"Shutting down delegator server.
\n
"
);
ret
=
HG_Create
(
hg_context
,
delegator_svr_addr
,
my_rpc_shutdown_id
,
&
handle
);
assert
(
ret
==
0
);
margo_forward
(
mid
,
handle
,
NULL
);
HG_Destroy
(
handle
);
if
(
strcmp
(
argv
[
1
],
argv
[
2
]))
{
sleep
(
3
);
printf
(
"Shutting down data_xfer server.
\n
"
);
ret
=
HG_Create
(
hg_context
,
data_xfer_svr_addr
,
my_rpc_shutdown_id
,
&
handle
);
assert
(
ret
==
0
);
margo_forward
(
mid
,
handle
,
NULL
);
...
...
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