* 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
This commit is contained in:
@@ -486,6 +486,7 @@ Shell::_Spawn(int row, int col, const char *encoding, int argc, const char **arg
|
|||||||
#ifndef __HAIKU__
|
#ifndef __HAIKU__
|
||||||
ioctl(0, 'pgid', getpid());
|
ioctl(0, 'pgid', getpid());
|
||||||
#endif
|
#endif
|
||||||
|
set_thread_priority(find_thread(NULL), B_NORMAL_PRIORITY);
|
||||||
|
|
||||||
/* pty open and set termios successful. */
|
/* pty open and set termios successful. */
|
||||||
handshake.status = PTY_OK;
|
handshake.status = PTY_OK;
|
||||||
|
|||||||
Reference in New Issue
Block a user