mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=4329
This commit is contained in:
parent
37adf79297
commit
779b25ec13
|
@ -18415,6 +18415,8 @@ David 14 Oct 2004
|
|||
net_xfer.C,h
|
||||
scheduler_op.C
|
||||
time_stats.h
|
||||
win/
|
||||
wingui_mainwindow.cpp
|
||||
lib/
|
||||
app_ipc.C,h
|
||||
makefile.gui_test
|
||||
|
|
|
@ -409,12 +409,14 @@ int CLIENT_STATE::compute_work_requests() {
|
|||
//
|
||||
if (estimated_time_to_starvation < work_min_period) {
|
||||
if (estimated_time_to_starvation == 0) {
|
||||
msg_printf(p, MSG_INFO, "is starved");
|
||||
//msg_printf(p, MSG_INFO, "is starved");
|
||||
urgency = NEED_WORK_IMMEDIATELY;
|
||||
} else {
|
||||
#if 0
|
||||
msg_printf(p, MSG_INFO, "will starve in %.2f sec",
|
||||
estimated_time_to_starvation
|
||||
);
|
||||
#endif
|
||||
urgency = max(NEED_WORK, urgency);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2143,7 +2143,7 @@ void CMainWindow::OnTimer(UINT uEventID) {
|
|||
KillTimer(m_nGuiTimerID);
|
||||
|
||||
// update state and gui
|
||||
while(gstate.do_something());
|
||||
while(gstate.do_something(dtime()));
|
||||
NetCheck(); // check if network connection can be terminated
|
||||
|
||||
// TODO: check this after writing a message, not here!!!
|
||||
|
|
Loading…
Reference in New Issue