From 49f6d0f0ca26c10f3e2aa42ef491d9a60bd1a9fc Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Thu, 7 Mar 2002 14:00:10 +0000 Subject: Introduced waitQueue to make link::transmit non-blocking. --- ncpd/link.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ncpd/link.h') diff --git a/ncpd/link.h b/ncpd/link.h index cf265c0..81732b6 100644 --- a/ncpd/link.h +++ b/ncpd/link.h @@ -28,6 +28,7 @@ #include #endif #include +#include #include "bufferstore.h" #include "bufferarray.h" @@ -151,6 +152,7 @@ private: void multiAck(struct timeval); void retransmit(); void transmitHoldQueue(int channel); + void transmitWaitQueue(); pthread_t checkthread; pthread_mutex_t queueMutex; @@ -168,6 +170,7 @@ private: vector ackWaitQueue; vector holdQueue; + vector waitQueue; bool xoff[256]; }; -- cgit v1.2.3