From 9a933ae9011d343a75929136269fe45c6b863a17 Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Tue, 6 Jan 2009 23:42:18 +0000 Subject: Work on the low level IO code: * Introduce code so that you can interrupt waiting for a handle and receive a callback that is correctly serialised with the IO callbacks for that handle git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732177 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/sys/windows/AsynchIO.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cpp/src/qpid/sys/windows') diff --git a/cpp/src/qpid/sys/windows/AsynchIO.cpp b/cpp/src/qpid/sys/windows/AsynchIO.cpp index ca56efd8dd..356d5ba927 100644 --- a/cpp/src/qpid/sys/windows/AsynchIO.cpp +++ b/cpp/src/qpid/sys/windows/AsynchIO.cpp @@ -284,6 +284,7 @@ public: virtual void queueWriteClose(); virtual bool writeQueueEmpty(); virtual void startReading(); + virtual void requestCallback(RequestCallback); /** * getQueuedBuffer returns a buffer from the buffer queue, if one is @@ -531,6 +532,11 @@ void AsynchIO::startReading() { return; } +// TODO: This needs to arrange for a callback that is serialised with +// the other IO callbacks for this AsynchIO +void AsynchIO::requestCallback(RequestCallback callback) { +} + /** * Return a queued buffer if there are enough to spare. */ -- cgit v1.2.1