From 0168e8948764fb65193d61652a436909db79d513 Mon Sep 17 00:00:00 2001 From: Darryl Pogue Date: Sun, 4 Mar 2012 16:25:54 -0800 Subject: [PATCH] Missed a few references to NtFile. --- .../pnAsyncCoreExe/Private/Nt/pnAceNt.cpp | 29 ------------------- 1 file changed, 29 deletions(-) diff --git a/Sources/Plasma/NucleusLib/pnAsyncCoreExe/Private/Nt/pnAceNt.cpp b/Sources/Plasma/NucleusLib/pnAsyncCoreExe/Private/Nt/pnAceNt.cpp index 73447c69..8e9dbd18 100644 --- a/Sources/Plasma/NucleusLib/pnAsyncCoreExe/Private/Nt/pnAceNt.cpp +++ b/Sources/Plasma/NucleusLib/pnAsyncCoreExe/Private/Nt/pnAceNt.cpp @@ -152,28 +152,6 @@ static void INtOpDispatch ( INtSocketOpCompleteSocketWrite((NtSock *) ntObj, (NtOpSocketWrite *) op); break; - case kOpQueuedFileRead: - case kOpQueuedFileWrite: - INtFileOpCompleteQueuedReadWrite((NtFile *) ntObj, (NtOpFileReadWrite *) op); - // operation converted into kOpFileWrite so we cannot move - // to next operation until write operation completes - return; - - case kOpFileRead: - case kOpFileWrite: - ASSERT(bytes != (uint32_t) -1); - if (!INtFileOpCompleteReadWrite((NtFile *) ntObj, (NtOpFileReadWrite *) op, bytes)) - return; - break; - - case kOpFileFlush: - INtFileOpCompleteFileFlush((NtFile *) ntObj, (NtOpFileFlush *) op); - break; - - case kOpSequence: - INtFileOpCompleteSequence((NtFile *) ntObj, (NtOpFileSequence *) op); - break; - DEFAULT_FATAL(opType); } @@ -329,10 +307,6 @@ void INtConnCompleteOperation (NtObject * ntObj) { DWORD err = GetLastError(); switch (ntObj->ioType) { - case kNtFile: - INtFileDelete((NtFile *) ntObj); - break; - case kNtSocket: INtSockDelete((NtSock *) ntObj); break; @@ -393,7 +367,6 @@ void NtInitialize () { ); } - INtFileInitialize(); INtSocketInitialize(); } @@ -403,7 +376,6 @@ void NtInitialize () { // shut down the program is to simply let the atexit() handler take care of it. void NtDestroy (unsigned exitThreadWaitMs) { // cleanup modules that post completion notifications as part of their shutdown - INtFileStartCleanup(); INtSocketStartCleanup(exitThreadWaitMs); // cleanup worker threads @@ -434,7 +406,6 @@ void NtDestroy (unsigned exitThreadWaitMs) { s_waitEvent = 0; } - INtFileDestroy(); INtSocketDestroy(); }