diff options
Diffstat (limited to 'src/core/taskq.h')
| -rw-r--r-- | src/core/taskq.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/taskq.h b/src/core/taskq.h index 53f9d35b..9cabfd9b 100644 --- a/src/core/taskq.h +++ b/src/core/taskq.h @@ -1,5 +1,5 @@ // -// Copyright 2018 Staysail Systems, Inc. <info@staysail.tech> +// Copyright 2020 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a @@ -38,6 +38,11 @@ extern void nni_task_exec(nni_task *); // nni_task_exec). extern void nni_task_prep(nni_task *); +// nni_task_abort is called to undo the effect of nni_task_prep, +// basically. The aio framework uses this when nni_aio_schedule() +// returns an error. +extern void nni_task_abort(nni_task *); + extern void nni_task_wait(nni_task *); extern void nni_task_init(nni_task *, nni_taskq *, nni_cb, void *); |
