File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -1180,8 +1180,13 @@ bool CLIENT_STATE::poll_slow_events() {
11801180 }
11811181 last_suspend_reason = suspend_reason;
11821182 } else {
1183- if (tasks_suspended && !tasks_throttled) {
1184- resume_tasks (last_suspend_reason);
1183+ if (tasks_suspended) {
1184+ if (log_flags.task ) {
1185+ msg_printf (NULL , MSG_INFO, " Resuming computation" );
1186+ }
1187+ if (!tasks_throttled) {
1188+ resume_tasks (last_suspend_reason);
1189+ }
11851190 }
11861191 }
11871192 } else if (first) {
Original file line number Diff line number Diff line change @@ -390,9 +390,6 @@ int CLIENT_STATE::resume_tasks(int reason) {
390390 if (reason == SUSPEND_REASON_CPU_THROTTLE) {
391391 active_tasks.unsuspend_all (SUSPEND_REASON_CPU_THROTTLE);
392392 } else {
393- if (log_flags.task ) {
394- msg_printf (NULL , MSG_INFO, " Resuming computation" );
395- }
396393 active_tasks.unsuspend_all ();
397394 request_schedule_cpus (" Resuming computation" );
398395 }
You can’t perform that action at this time.
0 commit comments