*** empty log message ***

svn path=/trunk/boinc/; revision=4329
This commit is contained in:
David Anderson 2004-10-14 22:21:35 +00:00
parent 37adf79297
commit 779b25ec13
3 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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);
}
}

View File

@ -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!!!