state file atomicity

svn path=/trunk/boinc/; revision=9142
This commit is contained in:
David Anderson 2005-12-24 07:12:39 +00:00
parent 9b8fbcc59f
commit ee8b9370e0
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ BOOL WINAPI ConsoleControlHandler ( DWORD dwCtrlType ){
switch( dwCtrlType ){ switch( dwCtrlType ){
case CTRL_C_EVENT: case CTRL_C_EVENT:
BOINCTRACE("Event: CTRL-C Event\n"); BOINCTRACE("Event: CTRL-C Event\n");
if(gstate.activities_suspended) { if(gstate.tasks_suspended) {
resume_client(); resume_client();
} else { } else {
suspend_client(); suspend_client();