From 3ea50f1bb77bd00d9f9a9cf4df806558f15b76cc Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Mon, 8 Nov 1999 17:01:43 +0000 Subject: [PATCH] fixed problem with VALID_MSG(PIIU) macro --- src/ca/iocinf.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ca/iocinf.h b/src/ca/iocinf.h index 6e280c256..59809a06e 100644 --- a/src/ca/iocinf.h +++ b/src/ca/iocinf.h @@ -33,6 +33,10 @@ /* * $Log$ + * Revision 1.78 1999/10/14 23:22:13 jhill + * dont detect a flow control situation when select is telling us there is + * something to read when there isnt anything there + * * Revision 1.77 1999/09/14 23:38:18 jhill * added ca_vprintf() function * @@ -287,7 +291,7 @@ if(!ca_static){ \ } /* throw out requests prior to last ECA_TIMEOUT from ca_pend */ -#define VALID_MSG(PIIU) (piiu->read_seq == piiu->cur_read_seq) +#define VALID_MSG(PIIU) (PIIU->read_seq == PIIU->cur_read_seq) #define SETPENDRECV {pndrecvcnt++;} #define CLRPENDRECV {if(--pndrecvcnt<1u){POST_IO_EV;}}