mirror of https://github.com/BOINC/boinc.git
state file atomicity
svn path=/trunk/boinc/; revision=9142
This commit is contained in:
parent
9b8fbcc59f
commit
ee8b9370e0
|
@ -230,7 +230,7 @@ BOOL WINAPI ConsoleControlHandler ( DWORD dwCtrlType ){
|
|||
switch( dwCtrlType ){
|
||||
case CTRL_C_EVENT:
|
||||
BOINCTRACE("Event: CTRL-C Event\n");
|
||||
if(gstate.activities_suspended) {
|
||||
if(gstate.tasks_suspended) {
|
||||
resume_client();
|
||||
} else {
|
||||
suspend_client();
|
||||
|
|
Loading…
Reference in New Issue