]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Initial support for breaking the "do all queued I/Os" loop.
authorAlex Rousskov <rousskov@measurement-factory.com>
Mon, 29 Aug 2011 21:06:59 +0000 (15:06 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Mon, 29 Aug 2011 21:06:59 +0000 (15:06 -0600)
src/DiskIO/IpcIo/IpcIoFile.h

index f116f98ff7fb8a1a26ee3df4a9f8112b4247028a..e5915c1fc7cca496f7fe8314cc2062a2ad0fb26b 100644 (file)
@@ -93,6 +93,7 @@ private:
     static void HandleResponses(const char *const when);
     void handleResponse(IpcIoMsg &ipcIo);
 
+    static void DiskerHandleMoreRequests(void*);
     static void DiskerHandleRequests();
     static void DiskerHandleRequest(const int workerId, IpcIoMsg &ipcIo);
 
@@ -125,6 +126,9 @@ private:
     typedef Ipc::FewToFewBiQueue Queue;
     static std::auto_ptr<Queue> queue; ///< IPC queue
 
+    /// whether we are waiting for an event to handle still queued I/O requests
+    static bool DiskerHandleMoreRequestsScheduled;
+
     CBDATA_CLASS2(IpcIoFile);
 };