From 4cac6b5684ca738ed451715a9128638dcc97147d Mon Sep 17 00:00:00 2001 From: tomascz Date: Sat, 29 Aug 2020 13:18:15 +0200 Subject: [PATCH] [#49] All DOSes: Formatting/unformatting cylinders needs revision (Part 7: Formatting is a time-critical operation) --- Main/src/Dos.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Main/src/Dos.cpp b/Main/src/Dos.cpp index afa335e8..00e5c584 100644 --- a/Main/src/Dos.cpp +++ b/Main/src/Dos.cpp @@ -380,7 +380,7 @@ reportError:Utils::Information(buf); const TStdWinError err= CBackgroundActionCancelable( __formatTracks_thread__, &TFmtParams( this, rParams, head, nSectors, bufferId, bufferLength, showReport ), - THREAD_PRIORITY_BELOW_NORMAL + THREAD_PRIORITY_TIME_CRITICAL ).Perform(); if (err!=ERROR_SUCCESS) Utils::FatalError(_T("Cannot format a track"),err);