diff data/fileio/FileReadThread.h @ 455:3e0f1f7bec85

* Fix a nasty and long-standing race condition in MatrixFile's use of FileReadThread that was causing crashes sometimes
author Chris Cannam
date Thu, 09 Oct 2008 20:10:28 +0000
parents 4b2ea82fd0ed
children c01cbe41aeb5
line wrap: on
line diff
--- a/data/fileio/FileReadThread.h	Thu Oct 09 13:13:33 2008 +0000
+++ b/data/fileio/FileReadThread.h	Thu Oct 09 20:10:28 2008 +0000
@@ -50,6 +50,7 @@
 
     virtual bool isReady(int token);
     virtual bool isCancelled(int token); // and safe to delete
+    virtual bool haveRequest(int token);
     virtual bool getRequest(int token, Request &request);
     virtual void done(int token);