@ -176,6 +176,7 @@ int nn_pipe_send(struct nn_pipe *self,struct nn_msg *msg)
int rc;
struct nn_pipebase *pipebase;
pipebase = (struct nn_pipebase *)self;
printf("pipesend\n");
nn_assert (pipebase->outstate == NN_PIPEBASE_OUTSTATE_IDLE);
pipebase->outstate = NN_PIPEBASE_OUTSTATE_SENDING;
rc = pipebase->vfptr->send(pipebase,msg);
@ -31,8 +31,8 @@
#define NN_HAVE_SEMAPHORE 1 // must have
// need one of following 3, listed in order of precedence, used by efd*
//#define NN_HAVE_EVENTFD 1
#define NN_HAVE_PIPE 1
#define NN_HAVE_EVENTFD 1
//#define NN_HAVE_PIPE 1
//#define NN_HAVE_SOCKETPAIR 1
// need one of following 3, listed in order of precedence, used by poller*