From b38dbcd92d66ca58d3cff1ab66662646e7be1617 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sat, 14 Mar 2009 22:19:35 +0000 Subject: [PATCH] * set the thread priority to normal for spawned processes (bug #3564) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29533 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/terminal/Shell.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/apps/terminal/Shell.cpp b/src/apps/terminal/Shell.cpp index e9932db33c..e4786207c9 100644 --- a/src/apps/terminal/Shell.cpp +++ b/src/apps/terminal/Shell.cpp @@ -486,6 +486,7 @@ Shell::_Spawn(int row, int col, const char *encoding, int argc, const char **arg #ifndef __HAIKU__ ioctl(0, 'pgid', getpid()); #endif + set_thread_priority(find_thread(NULL), B_NORMAL_PRIORITY); /* pty open and set termios successful. */ handshake.status = PTY_OK;