mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 12:23:37 -05:00
Increase the OpenMP stack size limit for jt9 threads from 2Mbyte to 4Mbyte
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7293 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
9ed923444d
commit
dc62eb04ad
@ -733,6 +733,9 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
|
||||
, "-a", QDir::toNativeSeparators (m_dataDir.absolutePath ())
|
||||
, "-t", QDir::toNativeSeparators (m_config.temp_dir ().absolutePath ())
|
||||
};
|
||||
QProcessEnvironment env {QProcessEnvironment::systemEnvironment ()};
|
||||
env.insert ("OMP_STACKSIZE", "4M");
|
||||
proc_jt9.setProcessEnvironment (env);
|
||||
proc_jt9.start(QDir::toNativeSeparators (m_appDir) + QDir::separator () +
|
||||
"jt9", jt9_args, QIODevice::ReadWrite | QIODevice::Unbuffered);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user