OSDN Git Service

Raised limit for maximum number of parallel instances to 32.
authorLoRd_MuldeR <mulder2@gmx.de>
Sun, 30 Nov 2014 21:11:47 +0000 (22:11 +0100)
committerLoRd_MuldeR <mulder2@gmx.de>
Sun, 30 Nov 2014 21:11:47 +0000 (22:11 +0100)
LameXP_VS2013.vcxproj
gui/MainWindow.ui
src/Config.h
src/Dialog_Processing.cpp
src/Thread_Process.cpp

index 762348a..12b6c8b 100644 (file)
@@ -154,7 +154,6 @@ copy /Y "$(SolutionDir)\..\Prerequisites\VisualLeakDetector\bin\Win32\*.manifest
       <ShowProgress>LinkVerboseLib</ShowProgress>
       <Version>
       </Version>
-      <GenerateDebugInformation>true</GenerateDebugInformation>
       <AssemblyDebug>
       </AssemblyDebug>
       <GenerateMapFile>false</GenerateMapFile>
@@ -172,6 +171,7 @@ copy /Y "$(SolutionDir)\..\Prerequisites\VisualLeakDetector\bin\Win32\*.manifest
       </CreateHotPatchableImage>
       <AdditionalLibraryDirectories>$(QTDIR)\lib;$(QTDIR)\plugins\imageformats;$(SolutionDir)\..\Prerequisites\VisualLeakDetector\lib\Win32;$(SolutionDir)\etc\Prerequisites\keccak\lib\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
       <TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
+      <GenerateDebugInformation>false</GenerateDebugInformation>
     </Link>
     <PostBuildEvent>
       <Message>
index d99acd1..002b47a 100644 (file)
               <rect>
                <x>0</x>
                <y>0</y>
-               <width>602</width>
-               <height>1750</height>
+               <width>613</width>
+               <height>1759</height>
               </rect>
              </property>
              <layout class="QGridLayout" name="gridLayout_22">
                         <number>1</number>
                        </property>
                        <property name="maximum">
-                        <number>16</number>
+                        <number>32</number>
                        </property>
                        <property name="pageStep">
                         <number>1</number>
index 5e02420..edeafd2 100644 (file)
@@ -34,7 +34,7 @@
 #define VER_LAMEXP_MINOR_HI                                    1
 #define VER_LAMEXP_MINOR_LO                                    1
 #define VER_LAMEXP_TYPE                                                Beta
-#define VER_LAMEXP_PATCH                                       3
+#define VER_LAMEXP_PATCH                                       4
 #define VER_LAMEXP_BUILD                                       1608
 #define VER_LAMEXP_CONFG                                       1558
 
index 1c1e01c..b07cfaa 100644 (file)
@@ -76,7 +76,7 @@
 ////////////////////////////////////////////////////////////
 
 //Maximum number of parallel instances
-#define MAX_INSTANCES 16U
+#define MAX_INSTANCES 32U
 
 //Function to calculate the number of instances
 static int cores2instances(int cores);
@@ -578,7 +578,7 @@ void ProcessingDialog::initNextJob(void)
                startNextJob();
                if(--m_initThreads > 0)
                {
-                       QTimer::singleShot(100, this, SLOT(initNextJob()));
+                       QTimer::singleShot(32, this, SLOT(initNextJob()));
                }
        }
 }
index 769e38b..9d919ba 100644 (file)
@@ -332,7 +332,7 @@ void ProcessThread::processFile()
                bSuccess = fileInfo.exists() && fileInfo.isFile() && (fileInfo.size() > 0);
        }
 
-       MUtils::OS::sleep_ms(125);
+       MUtils::OS::sleep_ms(25);
 
        //Report result
        emit processStateChanged(m_jobId, (m_aborted ? tr("Aborted!") : (bSuccess ? tr("Done.") : tr("Failed!"))), ((bSuccess && !m_aborted) ? ProgressModel::JobComplete : ProgressModel::JobFailed));
@@ -462,7 +462,7 @@ int ProcessThread::generateOutFileName(QString &outFileName)
                                {
                                        break;
                                }
-                               MUtils::OS::sleep_ms(125);
+                               MUtils::OS::sleep_ms(1);
                        }
                }
                if(QFileInfo(outFileName).exists())