diff data/fileio/MatrixFile.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 1a42221a1522
children 3cc4b7cd2aa5
line wrap: on
line diff
--- a/data/fileio/MatrixFile.h	Thu Oct 09 13:13:33 2008 +0000
+++ b/data/fileio/MatrixFile.h	Thu Oct 09 20:10:28 2008 +0000
@@ -68,7 +68,7 @@
     void reset();
 
     bool haveSetColumnAt(size_t x) const { return m_columnBitset->get(x); }
-    void getColumnAt(size_t x, void *data);
+    void getColumnAt(size_t x, void *data); // may throw FileReadFailed
     void setColumnAt(size_t x, const void *data);
 
     void suspend();