fixed preemptive callback enable was backwards

This commit is contained in:
Jeff Hill
2002-05-30 00:32:50 +00:00
parent 254c9e8eb0
commit f279640dc0

View File

@@ -34,7 +34,7 @@ oldCAC::oldCAC ( bool enablePreemptiveCallback ) :
pVPrintfFunc ( errlogVprintf ), fdRegFunc ( 0 ), fdRegArg ( 0 ),
pndRecvCnt ( 0u ), ioSeqNo ( 0u )
{
if ( enablePreemptiveCallback ) {
if ( ! enablePreemptiveCallback ) {
this->pCallbackGuard = new epicsGuard < callbackMutex >
( this->clientCtx.callbackGuardFactory () );
}