diff --git a/src/ca/cac.h b/src/ca/cac.h index 36bb12107..d16fbc793 100644 --- a/src/ca/cac.h +++ b/src/ca/cac.h @@ -136,6 +136,7 @@ public: void notifyNewFD ( SOCKET ) const; void notifyDestroyFD ( SOCKET ) const; void uninstallIIU ( tcpiiu &iiu ); + bool preemptiveCallbackEnable () const; private: ipAddrToAsciiEngine ipToAEngine; @@ -175,7 +176,7 @@ private: *pRepeaterSubscribeTmr; void *tcpSmallRecvBufFreeList; void *tcpLargeRecvBufFreeList; - cacNotify ¬ify; + cacNotify & notify; unsigned initializingThreadsPriority; unsigned maxRecvBytesTCP; unsigned pndRecvCnt; @@ -340,5 +341,10 @@ inline bool cac::ioComplete () const return ( this->pndRecvCnt == 0u ); } +inline bool cac::preemptiveCallbackEnable () const +{ + return this->enablePreemptiveCallback; +} + #endif // ifdef cach