Addd an #ifdef _WIN32 to force SingleThreaded usage under Windows when no

threading model is specified.
This commit is contained in:
Robert Osfield
2007-02-15 15:06:18 +00:00
parent 3e6a91c079
commit 644c92218d

View File

@@ -977,6 +977,11 @@ Viewer::ThreadingModel Viewer::suggestBestThreadingModel()
if (contexts.empty()) return SingleThreaded;
#ifdef _WIN32
// temporary hack to disable multi-threading under Windows till we find good solutions for
// crashes that users are seeing.
return SingleThreaded;
#endif
Cameras cameras;
getCameras(cameras);