mirror of https://github.com/BOINC/boinc.git
- client: fix bug in FIFO selection of coproc jobs
(senility setting in?) svn path=/trunk/boinc/; revision=19049
This commit is contained in:
parent
0eeb16abaf
commit
9171ddbfad
|
@ -7646,3 +7646,10 @@ Charlie 11 Sept 2009
|
|||
clientgui/
|
||||
AsyncRPC.cpp
|
||||
BOINCGUIApp.cpp
|
||||
|
||||
David 12 Sept 2009
|
||||
- client: fix bug in FIFO selection of coproc jobs
|
||||
(senility setting in?)
|
||||
|
||||
client/
|
||||
cpu_sched.cpp
|
||||
|
|
|
@ -323,12 +323,12 @@ RESULT* first_coproc_result() {
|
|||
}
|
||||
if (rp->received_time < best->received_time) {
|
||||
best = rp;
|
||||
continue;
|
||||
}
|
||||
// make it deterministic
|
||||
//
|
||||
if (strcmp(rp->name, best->name)) {
|
||||
best = rp;
|
||||
} else if (rp->received_time == best->received_time) {
|
||||
// make it deterministic
|
||||
//
|
||||
if (strcmp(rp->name, best->name)) {
|
||||
best = rp;
|
||||
}
|
||||
}
|
||||
}
|
||||
return best;
|
||||
|
|
Loading…
Reference in New Issue