From 2944f3a2634876e543003fabb05cba1b178df6aa Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 18 Feb 2017 19:24:15 -0800 Subject: Taskq implementation. --- src/core/defs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/core/defs.h') diff --git a/src/core/defs.h b/src/core/defs.h index abb340bc..0a04b732 100644 --- a/src/core/defs.h +++ b/src/core/defs.h @@ -50,6 +50,10 @@ typedef uint64_t nni_time; // Abs. time (usec). typedef int64_t nni_duration; // Rel. time (usec). typedef void (*nni_worker)(void *); +typedef struct nni_taskq nni_taskq; +typedef struct nni_taskq_ent nni_taskq_ent; +typedef void (*nni_cb)(void *); + // Used by transports for scatter gather I/O. typedef struct { void * iov_buf; -- cgit v1.2.3-70-g09d2