Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bake
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
7
Issues
7
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sds
bake
Commits
7a97433a
Commit
7a97433a
authored
May 02, 2016
by
Philip Carns
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update to match margo api
parent
5bc4d532
Pipeline
#293
skipped
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/bake-bulk-server.c
src/bake-bulk-server.c
+1
-1
src/bb-shutdown.c
src/bb-shutdown.c
+2
-2
No files found.
src/bake-bulk-server.c
View file @
7a97433a
...
...
@@ -92,7 +92,7 @@ int main(int argc, char **argv)
* communication.
*/
/***************************************/
mid
=
margo_init
(
handler_pool
,
handler_pool
,
hg_context
,
hg_class
);
mid
=
margo_init
_pool
(
handler_pool
,
handler_pool
,
hg_context
);
assert
(
mid
);
/* register RPC */
...
...
src/bb-shutdown.c
View file @
7a97433a
...
...
@@ -93,7 +93,7 @@ int main(int argc, char **argv)
* because this is a pure client that will not be servicing rpc requests.
*/
/***************************************/
mid
=
margo_init
(
pool
,
ABT_POOL_NULL
,
hg_context
,
hg_class
);
mid
=
margo_init
_pool
(
pool
,
ABT_POOL_NULL
,
hg_context
);
/* register RPC */
bake_bulk_shutdown_id
=
MERCURY_REGISTER
(
hg_class
,
"bake_bulk_shutdown_rpc"
,
void
,
void
,
...
...
@@ -101,7 +101,7 @@ int main(int argc, char **argv)
/* send one rpc to server to shut it down */
/* find addr for server */
ret
=
margo_addr_lookup
(
mid
,
hg_context
,
argv
[
1
],
&
svr_addr
);
ret
=
margo_addr_lookup
(
mid
,
argv
[
1
],
&
svr_addr
);
assert
(
ret
==
0
);
/* create handle */
...
...
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