Commit a7ab3110 authored by Philip Carns's avatar Philip Carns

try calling Mercury cancel

parent 3c2ca152
...@@ -239,8 +239,8 @@ static void hg_progress_fn(void* foo) ...@@ -239,8 +239,8 @@ static void hg_progress_fn(void* foo)
DL_DELETE(mid->timer_head, cur); DL_DELETE(mid->timer_head, cur);
cur->next = NULL; cur->next = NULL;
cur->prev = NULL; cur->prev = NULL;
/* TODO: actually cancel here, of course */ //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); ABT_mutex_unlock(mid->timer_mutex);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment