diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-02-18 19:24:15 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-02-18 19:25:14 -0800 |
| commit | 2944f3a2634876e543003fabb05cba1b178df6aa (patch) | |
| tree | a9a5aba5aec0ff1028e1a4d5815939887d406bb5 /src/core/defs.h | |
| parent | f42f22abf488d30d4d68a8ab57063c48d618948d (diff) | |
| download | nng-2944f3a2634876e543003fabb05cba1b178df6aa.tar.gz nng-2944f3a2634876e543003fabb05cba1b178df6aa.tar.bz2 nng-2944f3a2634876e543003fabb05cba1b178df6aa.zip | |
Taskq implementation.
Diffstat (limited to 'src/core/defs.h')
| -rw-r--r-- | src/core/defs.h | 4 |
1 files changed, 4 insertions, 0 deletions
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; |
