mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=5615
This commit is contained in:
parent
4b4193a601
commit
7b69b9209f
|
@ -25734,3 +25734,10 @@ Rom 9 Mar 2005
|
|||
clientgui/
|
||||
MainFrame.cpp
|
||||
MainDocument.cpp
|
||||
|
||||
David 9 Mar 2005
|
||||
- core client: allow show_graphics RPCs even for results
|
||||
that are not currently scheduled
|
||||
|
||||
client/
|
||||
gui_rpc_server.C
|
||||
|
|
|
@ -125,8 +125,8 @@ static void handle_result_show_graphics(char* buf, MIOFILE& fout) {
|
|||
return;
|
||||
}
|
||||
atp = gstate.lookup_active_task_by_result(rp);
|
||||
if (!atp || atp->scheduler_state != CPU_SCHED_SCHEDULED) {
|
||||
fout.printf("<error>Result not active</error>\n");
|
||||
if (!atp) {
|
||||
fout.printf("<error>no such result</error>\n");
|
||||
return;
|
||||
}
|
||||
atp->request_graphics_mode(gm);
|
||||
|
@ -134,7 +134,7 @@ static void handle_result_show_graphics(char* buf, MIOFILE& fout) {
|
|||
for (unsigned int i=0; i<gstate.active_tasks.active_tasks.size(); i++) {
|
||||
atp = gstate.active_tasks.active_tasks[i];
|
||||
if (atp->scheduler_state != CPU_SCHED_SCHEDULED) continue;
|
||||
atp->request_graphics_mode(gm);
|
||||
atp->request_graphics_mode(gm);
|
||||
}
|
||||
}
|
||||
fout.printf("<success/>\n");
|
||||
|
|
Loading…
Reference in New Issue