Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
margo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
12
Issues
12
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
sds
margo
Commits
d6ad8923
Commit
d6ad8923
authored
Mar 21, 2018
by
Philip Carns
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix to handle reset path
parent
458320f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
margo.c
src/margo.c
+6
-4
No files found.
src/margo.c
View file @
d6ad8923
...
@@ -789,10 +789,7 @@ hg_return_t margo_iforward_provider_id(
...
@@ -789,10 +789,7 @@ hg_return_t margo_iforward_provider_id(
assert
(
provider_id
<=
MARGO_MAX_PROVIDER_ID
);
assert
(
provider_id
<=
MARGO_MAX_PROVIDER_ID
);
hgi
=
HG_Get_info
(
handle
);
hgi
=
HG_Get_info
(
handle
);
/* make sure bottom bits of id are clear */
id
=
mux_id
(
hgi
->
id
,
provider_id
);
id
=
(
hgi
->
id
>>
(
__MARGO_PROVIDER_ID_SIZE
*
8
))
<<
(
__MARGO_PROVIDER_ID_SIZE
*
8
);
id
|=
provider_id
;
/* TODO: if we reset the handle here, is there any reason to do so in
/* TODO: if we reset the handle here, is there any reason to do so in
* the handle cache?
* the handle cache?
...
@@ -814,6 +811,11 @@ hg_return_t margo_iforward_provider_id(
...
@@ -814,6 +811,11 @@ hg_return_t margo_iforward_provider_id(
ret
=
HG_Register
(
hgi
->
hg_class
,
id
,
in_cb
,
out_cb
,
NULL
);
ret
=
HG_Register
(
hgi
->
hg_class
,
id
,
in_cb
,
out_cb
,
NULL
);
if
(
ret
!=
HG_SUCCESS
)
if
(
ret
!=
HG_SUCCESS
)
return
(
ret
);
return
(
ret
);
/* should be able to reset now */
ret
=
HG_Reset
(
handle
,
hgi
->
addr
,
id
);
if
(
ret
!=
HG_SUCCESS
)
return
(
ret
);
}
}
ret
=
ABT_eventual_create
(
sizeof
(
hret
),
&
eventual
);
ret
=
ABT_eventual_create
(
sizeof
(
hret
),
&
eventual
);
...
...
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