lower the command priority since it is a background task.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24191 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol
2008-03-01 18:46:20 +00:00
parent 002e8b64ae
commit 520b37b8e0
+3
View File
@@ -73,6 +73,9 @@ ExpanderThread::ThreadStartup()
if (fThreadId < 0)
return fThreadId;
// lower the command priority since it is a background task.
set_thread_priority(fThreadId, B_LOW_PRIORITY);
resume_thread(fThreadId);
fExpanderOutput = fdopen(fStdOut, "r");