- remove wait arg of resume_client()

svn path=/trunk/boinc/; revision=17651
This commit is contained in:
David Anderson 2009-03-24 17:44:16 +00:00
parent c1dce6425e
commit a171360594
3 changed files with 8 additions and 8 deletions

View File

@ -3275,3 +3275,9 @@ David 24 Mar 2009
wrapper.cpp
api/
boinc_api.cpp
David 24 Mar 2009
- remove wait arg of resume_client()
client/
main.cpp,h

View File

@ -155,14 +155,8 @@ void suspend_client(bool wait) {
}
}
void resume_client(bool wait) {
void resume_client() {
requested_resume = true;
if (wait) {
while (1) {
boinc_sleep(1.0);
if (gstate.active_tasks.is_task_executing()) break;
}
}
}
// Trap power events on Windows so we can clean ourselves up.

View File

@ -19,6 +19,6 @@
extern int boinc_main_loop();
extern void quit_client();
extern void suspend_client(bool wait = false);
extern void resume_client(bool wait = false);
extern void resume_client();
extern int check_unique_instance();
#endif