Set the normal PID surrogate priority according to getpid() to avoid
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>
Tue, 6 Aug 2002 13:31:26 +0000 (13:31 +0000)
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>
Tue, 6 Aug 2002 13:31:26 +0000 (13:31 +0000)
commit3faf95913da623c030ceac66f74f1e1664666e01
treedaf57ca34471ca8c0ad1b57bc42f7fa151f08f8d
parent8dd32f57032effcadb1933bf810384cfdec23600
Set the normal PID surrogate priority according to getpid() to avoid

2002-08-06  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* glib/gthread.c: Set the normal PID surrogate priority according
to getpid() to avoid errors for niced processes. (#86116)

* gthread/gthread-impl.c, gthread/gthread-posix.c,
gthread/gthread-solaris.c: Do the same for the posix/dce
implementation. Solaris still needs to set priority of the main
thread, because all unbound threads will schedule according to
that value and it defaults to 0 (the minimal value).
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gthread.c
gthread/gthread-impl.c
gthread/gthread-posix.c
gthread/gthread-solaris.c