mirror of https://github.com/BOINC/boinc.git
- remove wait arg of resume_client()
svn path=/trunk/boinc/; revision=17651
This commit is contained in:
parent
c1dce6425e
commit
a171360594
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue