mirror of https://github.com/BOINC/boinc.git
- VBOX: Remove code that was meant to force the CC to reschedule jobs. There was
a bug that was fixed last night which prevented the wrapper from properly reporting its checkpoint time to the CC. The lack of checkpoint information for the job would have prevented the CC from rescheduling the job and removing it from memory. Now it can so the extra shutdown each scheduling period should not be needed. samples/vboxwrapper/ vboxwrapper.cpp svn path=/trunk/boinc/; revision=24874
This commit is contained in:
parent
9d14b4b425
commit
10781f7776
|
@ -9313,3 +9313,14 @@ Rom 22 Dec 2011
|
|||
|
||||
samples/vboxwrapper/
|
||||
vbox.cpp
|
||||
|
||||
Rom 22 Dec 2011
|
||||
- VBOX: Remove code that was meant to force the CC to reschedule jobs. There was
|
||||
a bug that was fixed last night which prevented the wrapper from properly
|
||||
reporting its checkpoint time to the CC. The lack of checkpoint information
|
||||
for the job would have prevented the CC from rescheduling the job and removing
|
||||
it from memory. Now it can so the extra shutdown each scheduling period
|
||||
should not be needed.
|
||||
|
||||
samples/vboxwrapper/
|
||||
vboxwrapper.cpp
|
||||
|
|
|
@ -417,16 +417,6 @@ int main(int argc, char** argv) {
|
|||
}
|
||||
}
|
||||
|
||||
// if we've been running for at least the scheduling period,
|
||||
// do a checkpoint and temporary exit;
|
||||
// the client will run us again if it wants.
|
||||
//
|
||||
if (elapsed_time > aid.starting_elapsed_time + aid.global_prefs.cpu_scheduling_period()) {
|
||||
vm.stop();
|
||||
write_checkpoint(checkpoint_cpu_time);
|
||||
boinc_temporary_exit(0);
|
||||
}
|
||||
|
||||
// if the VM has a maximum amount of time it is allowed to run,
|
||||
// shut it down gacefully and exit.
|
||||
//
|
||||
|
|
|
@ -81,13 +81,13 @@
|
|||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="libcmt.lib libcpmt.lib kernel32.lib user32.lib gdi32.lib ole32.lib wsock32.lib"
|
||||
OutputFile=".\Build\$(PlatformName)\$(ConfigurationName)\vboxwrapper_24869_windows_intelx86.exe"
|
||||
OutputFile=".\Build\$(PlatformName)\$(ConfigurationName)\vboxwrapper_24873_windows_intelx86.exe"
|
||||
LinkIncremental="0"
|
||||
SuppressStartupBanner="true"
|
||||
IgnoreAllDefaultLibraries="true"
|
||||
DelayLoadDLLs=""
|
||||
GenerateDebugInformation="true"
|
||||
ProgramDatabaseFile=".\Build\$(PlatformName)\$(ConfigurationName)\vboxwrapper_24869_windows_intelx86.pdb"
|
||||
ProgramDatabaseFile=".\Build\$(PlatformName)\$(ConfigurationName)\vboxwrapper_24873_windows_intelx86.pdb"
|
||||
SubSystem="2"
|
||||
TargetMachine="1"
|
||||
/>
|
||||
|
@ -182,13 +182,13 @@
|
|||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="libcmt.lib libcpmt.lib kernel32.lib user32.lib gdi32.lib ole32.lib wsock32.lib"
|
||||
OutputFile=".\Build\$(PlatformName)\$(ConfigurationName)\vboxwrapper_24869_windows_x86_64.exe"
|
||||
OutputFile=".\Build\$(PlatformName)\$(ConfigurationName)\vboxwrapper_24873_windows_x86_64.exe"
|
||||
LinkIncremental="0"
|
||||
SuppressStartupBanner="true"
|
||||
IgnoreAllDefaultLibraries="true"
|
||||
DelayLoadDLLs=""
|
||||
GenerateDebugInformation="true"
|
||||
ProgramDatabaseFile=".\Build\$(PlatformName)\$(ConfigurationName)\vboxwrapper_24869_windows_x86_64.pdb"
|
||||
ProgramDatabaseFile=".\Build\$(PlatformName)\$(ConfigurationName)\vboxwrapper_24873_windows_x86_64.pdb"
|
||||
SubSystem="2"
|
||||
TargetMachine="17"
|
||||
/>
|
||||
|
|
Loading…
Reference in New Issue