comparison framework/Document.cpp @ 138:c0b176d86be7

* 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 e2aec1708a2c
children 06fc6fc21739
comparison
equal deleted inserted replaced
137:e2aec1708a2c 138:c0b176d86be7
35 // For alignment: 35 // For alignment:
36 #include "data/model/AggregateWaveModel.h" 36 #include "data/model/AggregateWaveModel.h"
37 #include "data/model/SparseTimeValueModel.h" 37 #include "data/model/SparseTimeValueModel.h"
38 #include "data/model/AlignmentModel.h" 38 #include "data/model/AlignmentModel.h"
39 39
40 #define DEBUG_DOCUMENT 1 40 //#define DEBUG_DOCUMENT 1
41 41
42 //!!! still need to handle command history, documentRestored/documentModified 42 //!!! still need to handle command history, documentRestored/documentModified
43 43
44 Document::Document() : 44 Document::Document() :
45 m_mainModel(0), 45 m_mainModel(0),