summaryrefslogtreecommitdiff
path: root/tools.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools.c')
-rw-r--r--tools.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools.c b/tools.c
index 268ee84..396787d 100644
--- a/tools.c
+++ b/tools.c
@@ -282,6 +282,8 @@ void WorkerThread::Action()
{
CutterListItem *cutteritem=NULL;
MoveListItem *moveitem=NULL;
+
+ SetPriority(19);
while(Running())
{
@@ -500,6 +502,9 @@ void WorkerThread::Cut(string From,string To)
else
lastmark=true;
}
+
+ if(mysetup.LimitBandwidth)
+ usleep(10);
}
if(!Running() || cancelcut || error)
{