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
d86cf85b
Commit
d86cf85b
authored
Jan 29, 2018
by
Shane Snyder
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
temporary handle reset workaround
mercury does not reset the target_id as part of HG_Reset
parent
da062e4b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
margo.c
src/margo.c
+3
-0
No files found.
src/margo.c
View file @
d86cf85b
...
...
@@ -1453,6 +1453,9 @@ static hg_return_t margo_handle_cache_get(margo_instance_id mid,
hret
=
HG_Reset
(
el
->
handle
,
addr
,
id
);
if
(
hret
==
HG_SUCCESS
)
{
/* XXX: Mercury doesn't reset the target_id so we need to do that manually for now */
HG_Set_target_id
(
el
->
handle
,
0
);
/* put on in-use list and pass back handle */
HASH_ADD
(
hh
,
mid
->
used_handle_hash
,
handle
,
sizeof
(
hg_handle_t
),
el
);
*
handle
=
el
->
handle
;
...
...
Shane Snyder
@ssnyder
mentioned in issue
#39 (closed)
·
Jan 29, 2018
mentioned in issue
#39 (closed)
mentioned in issue #39
Toggle commit list
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