diff --git a/checkin_notes b/checkin_notes index 9b39603e47..972553f7da 100755 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/client/cs_scheduler.C b/client/cs_scheduler.C index 5ba1a46c0d..320ae4c7b4 100644 --- a/client/cs_scheduler.C +++ b/client/cs_scheduler.C @@ -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); } } diff --git a/client/win/wingui_mainwindow.cpp b/client/win/wingui_mainwindow.cpp index b099665846..e6ec563a65 100755 --- a/client/win/wingui_mainwindow.cpp +++ b/client/win/wingui_mainwindow.cpp @@ -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!!!