#include "Plugins.h"
+// Set this to true in order to single step
+// through entire compare process all in a single thread
+// Either edit this line, or breakpoint & change it in CompareDirectories() below
+static bool bSinglethreaded=false;
+
+
/**
* @brief Data sent to diff thread
*/
m_bAborting = FALSE;
m_pDiffParm->nThreadState = THREAD_COMPARING;
- m_thread = AfxBeginThread(DiffThread, m_pDiffParm);
+
+ if (bSinglethreaded)
+ {
+ DiffThread(m_pDiffParm);
+ }
+ else
+ {
+ m_thread = AfxBeginThread(DiffThread, m_pDiffParm);
+ }
+
return 1;
}
PATCH: [ 862040 ] CAssureScriptsForThread like WaitCursor
WinMerge: DiffThread.cpp FileTransform.cpp Merge.cpp Merge.h
MergeEditView.cpp Plugins.cpp Plugins.h SelectUnpackerDlg.cpp
+ PATCH: [ 860072 ] Allow singlethreaded diffs
+ WinMerge: DiffThread.cpp
2004-01-08 Kimmo