- client: change order in poll loop so that:

1) job finishes
    2) job gets marked as "ready to report"
    3) scheduler RPC is initiated
    Hopefully this won't have an unintended side-effect

svn path=/trunk/boinc/; revision=19051
This commit is contained in:
David Anderson 2009-09-14 03:35:56 +00:00
parent 6b39ae7dbe
commit ceeee198db
2 changed files with 11 additions and 1 deletions

View File

@ -7659,3 +7659,13 @@ David 12 Sept 2009
client/
app_control.cpp
David 13 Sept 2009
- client: change order in poll loop so that:
1) job finishes
2) job gets marked as "ready to report"
3) scheduler RPC is initiated
Hopefully this won't have an unintended side-effect
client/
client_state.cpp

View File

@ -673,7 +673,6 @@ bool CLIENT_STATE::poll_slow_events() {
//auto_update.poll();
POLL_ACTION(active_tasks , active_tasks.poll );
POLL_ACTION(garbage_collect , garbage_collect );
POLL_ACTION(update_results , update_results );
POLL_ACTION(gui_http , gui_http.poll );
POLL_ACTION(gui_rpc_http , gui_rpcs.poll );
if (!network_suspended) {
@ -684,6 +683,7 @@ bool CLIENT_STATE::poll_slow_events() {
POLL_ACTION(handle_pers_file_xfers , handle_pers_file_xfers );
}
POLL_ACTION(handle_finished_apps , handle_finished_apps );
POLL_ACTION(update_results , update_results );
if (!tasks_suspended) {
POLL_ACTION(possibly_schedule_cpus, possibly_schedule_cpus );
POLL_ACTION(enforce_schedule , enforce_schedule );