diff options
Diffstat (limited to 'src/core/taskq.h')
| -rw-r--r-- | src/core/taskq.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/taskq.h b/src/core/taskq.h index 89b7be4a..40b5dc00 100644 --- a/src/core/taskq.h +++ b/src/core/taskq.h @@ -28,6 +28,7 @@ struct nni_task { extern int nni_taskq_init(nni_taskq **, int); extern void nni_taskq_fini(nni_taskq *); +extern void nni_taskq_drain(nni_taskq *); // nni_task_dispatch sends the task to the queue. It is guaranteed to // succeed. (If the queue is shutdown, then the behavior is undefined.) |
