diff options
| author | Scott Graham <scottmg@chromium.org> | 2018-10-10 10:00:41 -0700 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-10-10 19:45:24 +0200 |
| commit | 5f818b4b9f7640ea6c31c3cdf138e5d5004a4b00 (patch) | |
| tree | b3d2f8c8a30372eaedf9d7ea88adad32d448ab81 /executor | |
| parent | 700f14a4ab9f27e16c542d6a60a5ffa6a24b706c (diff) | |
executor: Fuchsia: Use zx_task_resume_from_exception()
zx_task_resume() is deprecated; switch to using
zx_task_resume_from_exception() instead.
Diffstat (limited to 'executor')
| -rw-r--r-- | executor/common_fuchsia.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/executor/common_fuchsia.h b/executor/common_fuchsia.h index d232f2a14..6c2381d28 100644 --- a/executor/common_fuchsia.h +++ b/executor/common_fuchsia.h @@ -84,9 +84,9 @@ static void* ex_handler(void* arg) debug("zx_thread_write_state failed: %d\n", status); } } - status = zx_task_resume(thread, ZX_RESUME_EXCEPTION); + status = zx_task_resume_from_exception(thread, port, 0); if (status != ZX_OK) { - debug("zx_task_resume failed: %d\n", status); + debug("zx_task_resume_from_exception failed: %d\n", status); } zx_handle_close(thread); } |
