From ec2574b09a746709f15d2a3f5de135e29f4bcb52 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 8 Jan 2017 11:18:16 -0800 Subject: Move to generic socket & pipe workers, and up to 4 each. This should eliminate all need for protocols to do their own thread management tasks. --- src/core/pipe.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/core/pipe.h') diff --git a/src/core/pipe.h b/src/core/pipe.h index cc14de86..65d2ede5 100644 --- a/src/core/pipe.h +++ b/src/core/pipe.h @@ -27,8 +27,7 @@ struct nng_pipe { nni_ep * p_ep; int p_reap; int p_active; - nni_thr p_send_thr; - nni_thr p_recv_thr; + nni_thr p_worker_thr[NNI_MAXWORKERS]; }; // Pipe operations that protocols use. -- cgit v1.2.3-70-g09d2