diff --git a/checkin_notes b/checkin_notes index 42936698b8..a316364ecd 100644 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/client/main.cpp b/client/main.cpp index dc21778e5a..17c074ffa0 100644 --- a/client/main.cpp +++ b/client/main.cpp @@ -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. diff --git a/client/main.h b/client/main.h index 2feb14cc9e..9a8f2fdc4e 100644 --- a/client/main.h +++ b/client/main.h @@ -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