Fixed bugs in posix thread priority resolution. Also added AIX priorities.
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>
Wed, 3 Jul 2002 15:30:46 +0000 (15:30 +0000)
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>
Wed, 3 Jul 2002 15:30:46 +0000 (15:30 +0000)
2002-07-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* configure.in: Fixed bugs in posix thread priority
resolution. Also added AIX priorities. Fix from
Laurent Vivier <Laurent.Vivier@bull.net>. (#82599)

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
configure.in

index c0eebe2..d863951 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2002-07-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
+       * configure.in: Fixed bugs in posix thread priority
+       resolution. Also added AIX priorities. Fix from
+       Laurent Vivier <Laurent.Vivier@bull.net>. (#82599)
+
        * gthread/gthread-solaris.c: Use thr_min_stack() instead of
        sysconf (_SC_THREAD_STACK_MIN). if stack_size is 0 on entry to
        g_thread_create_solaris_impl, also pass 0 to thr_create. Otherwise
index c0eebe2..d863951 100644 (file)
@@ -1,5 +1,9 @@
 2002-07-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
+       * configure.in: Fixed bugs in posix thread priority
+       resolution. Also added AIX priorities. Fix from
+       Laurent Vivier <Laurent.Vivier@bull.net>. (#82599)
+
        * gthread/gthread-solaris.c: Use thr_min_stack() instead of
        sysconf (_SC_THREAD_STACK_MIN). if stack_size is 0 on entry to
        g_thread_create_solaris_impl, also pass 0 to thr_create. Otherwise
index c0eebe2..d863951 100644 (file)
@@ -1,5 +1,9 @@
 2002-07-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
+       * configure.in: Fixed bugs in posix thread priority
+       resolution. Also added AIX priorities. Fix from
+       Laurent Vivier <Laurent.Vivier@bull.net>. (#82599)
+
        * gthread/gthread-solaris.c: Use thr_min_stack() instead of
        sysconf (_SC_THREAD_STACK_MIN). if stack_size is 0 on entry to
        g_thread_create_solaris_impl, also pass 0 to thr_create. Otherwise
index c0eebe2..d863951 100644 (file)
@@ -1,5 +1,9 @@
 2002-07-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
+       * configure.in: Fixed bugs in posix thread priority
+       resolution. Also added AIX priorities. Fix from
+       Laurent Vivier <Laurent.Vivier@bull.net>. (#82599)
+
        * gthread/gthread-solaris.c: Use thr_min_stack() instead of
        sysconf (_SC_THREAD_STACK_MIN). if stack_size is 0 on entry to
        g_thread_create_solaris_impl, also pass 0 to thr_create. Otherwise
index c0eebe2..d863951 100644 (file)
@@ -1,5 +1,9 @@
 2002-07-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
+       * configure.in: Fixed bugs in posix thread priority
+       resolution. Also added AIX priorities. Fix from
+       Laurent Vivier <Laurent.Vivier@bull.net>. (#82599)
+
        * gthread/gthread-solaris.c: Use thr_min_stack() instead of
        sysconf (_SC_THREAD_STACK_MIN). if stack_size is 0 on entry to
        g_thread_create_solaris_impl, also pass 0 to thr_create. Otherwise
index c0eebe2..d863951 100644 (file)
@@ -1,5 +1,9 @@
 2002-07-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
+       * configure.in: Fixed bugs in posix thread priority
+       resolution. Also added AIX priorities. Fix from
+       Laurent Vivier <Laurent.Vivier@bull.net>. (#82599)
+
        * gthread/gthread-solaris.c: Use thr_min_stack() instead of
        sysconf (_SC_THREAD_STACK_MIN). if stack_size is 0 on entry to
        g_thread_create_solaris_impl, also pass 0 to thr_create. Otherwise
index c0eebe2..d863951 100644 (file)
@@ -1,5 +1,9 @@
 2002-07-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
+       * configure.in: Fixed bugs in posix thread priority
+       resolution. Also added AIX priorities. Fix from
+       Laurent Vivier <Laurent.Vivier@bull.net>. (#82599)
+
        * gthread/gthread-solaris.c: Use thr_min_stack() instead of
        sysconf (_SC_THREAD_STACK_MIN). if stack_size is 0 on entry to
        g_thread_create_solaris_impl, also pass 0 to thr_create. Otherwise
index a528c57..c5056d5 100644 (file)
@@ -1480,13 +1480,20 @@ if test x"$have_threads" != xno; then
                                  [Have function pthread_attr_setstacksize])],
                        [AC_MSG_RESULT(no)])
                AC_MSG_CHECKING(for minimal/maximal thread priority)
-               if test x"$posix_priority_min" = xnone; then
+               if test x"$posix_priority_min" = x; then
                        AC_EGREP_CPP(PX_PRIO_MIN,[#include <pthread.h>
                                PX_PRIO_MIN],,[
                                posix_priority_min=PX_PRIO_MIN
                                posix_priority_max=PX_PRIO_MAX])
                fi
-               if test x"$posix_priority_min" = xnone; then
+               if test x"$posix_priority_min" = x; then
+                       # AIX
+                       AC_EGREP_CPP(PTHREAD_PRIO_MIN,[#include <pthread.h>
+                               PTHREAD_PRIO_MIN],,[
+                               posix_priority_min=PTHREAD_PRIO_MIN
+                               posix_priority_max=PTHREAD_PRIO_MIN])
+               fi
+               if test x"$posix_priority_min" = x; then
                        AC_EGREP_CPP(PRI_OTHER_MIN,[#include <pthread.h>
                                PRI_OTHER_MIN],,[
                                posix_priority_min=PRI_OTHER_MIN