screensaver: Fix a bug I introduced during code consolidation

svn path=/trunk/boinc/; revision=17346
This commit is contained in:
Charlie Fenton 2009-02-24 12:47:54 +00:00
parent 3709c1e9f4
commit 6ff6bda42d
3 changed files with 8 additions and 3 deletions

View File

@ -1976,3 +1976,10 @@ David 22 Feb 2009
host.inc host.inc
lib/ lib/
coproc.cpp coproc.cpp
Charlie 22 Feb 2009
- screensaver: Fix a bug I introduced during code consolidation.
clientscr/
screensaver.cpp
screensaver_win.cpp

View File

@ -761,9 +761,6 @@ void *CScreensaver::DataManagementProc()
continue; continue;
} }
} }
#ifdef _WIN32
boinc_sleep(1.0);
#endif
} // end while(true) } // end while(true)
} }

View File

@ -195,6 +195,7 @@ CScreensaver::CScreensaver() {
m_hDataManagementThread = NULL; m_hDataManagementThread = NULL;
m_hGraphicsApplication = NULL; m_hGraphicsApplication = NULL;
m_bResetCoreState = TRUE; m_bResetCoreState = TRUE;
m_QuitDataManagementProc = FALSE;
memset(&m_running_result, 0, sizeof(m_running_result)); memset(&m_running_result, 0, sizeof(m_running_result));
ZeroMemory(m_Monitors, sizeof(m_Monitors)); ZeroMemory(m_Monitors, sizeof(m_Monitors));