Mercurial > hg > svcore
comparison 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 |
comparison
equal
deleted
inserted
replaced
454:ba7aaacb7211 | 455:3e0f1f7bec85 |
---|---|
66 | 66 |
67 void resize(size_t width, size_t height); | 67 void resize(size_t width, size_t height); |
68 void reset(); | 68 void reset(); |
69 | 69 |
70 bool haveSetColumnAt(size_t x) const { return m_columnBitset->get(x); } | 70 bool haveSetColumnAt(size_t x) const { return m_columnBitset->get(x); } |
71 void getColumnAt(size_t x, void *data); | 71 void getColumnAt(size_t x, void *data); // may throw FileReadFailed |
72 void setColumnAt(size_t x, const void *data); | 72 void setColumnAt(size_t x, const void *data); |
73 | 73 |
74 void suspend(); | 74 void suspend(); |
75 | 75 |
76 protected: | 76 protected: |