Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chuck cranor
margo
Commits
a7ab3110
Commit
a7ab3110
authored
Mar 31, 2016
by
Philip Carns
Browse files
try calling Mercury cancel
parent
3c2ca152
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/margo.c
View file @
a7ab3110
...
...
@@ -239,8 +239,8 @@ static void hg_progress_fn(void* foo)
DL_DELETE
(
mid
->
timer_head
,
cur
);
cur
->
next
=
NULL
;
cur
->
prev
=
NULL
;
/
* TODO: actually cancel here, of
c
o
ur
se */
printf
(
"FOO: I would like to cancel operation with tv_sec %ld, tv_nsec %ld
\n
"
,
(
long
)
cur
->
expiration
.
tv_sec
,
cur
->
expiration
.
tv_nsec
);
/
/printf("FOO: I would like to cancel operation with tv_sec %ld, tv_nsec %ld\n", (long)cur->expiration.tv_sec,
cur
->expiration.tv_nsec);
HG_Core_cancel
(
cur
->
handle
);
}
ABT_mutex_unlock
(
mid
->
timer_mutex
);
...
...
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