From 30a12e0d5746e0376780f74e3a1530a5b3fb2329 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 12 Mar 2017 09:57:44 -0700 Subject: Clean up worker vestiges. --- src/core/defs.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/core/defs.h') diff --git a/src/core/defs.h b/src/core/defs.h index c730cf41..82d0dfaf 100644 --- a/src/core/defs.h +++ b/src/core/defs.h @@ -48,7 +48,6 @@ typedef void (*nni_thr_func)(void *); typedef int nni_signal; // Wakeup channel. typedef uint64_t nni_time; // Abs. time (usec). typedef int64_t nni_duration; // Rel. time (usec). -typedef void (*nni_worker)(void *); typedef void (*nni_cb)(void *); @@ -74,9 +73,6 @@ typedef struct { #define NNI_ALLOC_STRUCT(s) nni_alloc(sizeof (*s)) #define NNI_FREE_STRUCT(s) nni_free((s), sizeof (*s)) -// Maximum number of socket or pipe worker threads. -#define NNI_MAXWORKERS 4 - #define NNI_PUT16(ptr, u) \ do { \ (ptr)[0] = (uint8_t) (((uint16_t) (u)) >> 8); \ -- cgit v1.2.3-70-g09d2