mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-24 11:12:11 +01:00
Fixed bugs in posix thread priority resolution. Also added AIX priorities.
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). Merged from HEAD.
This commit is contained in:
parent
4d07a1fe1b
commit
9728e9f91f
@ -1,5 +1,9 @@
|
|||||||
2002-07-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
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). Merged from HEAD.
|
||||||
|
|
||||||
* gthread/gthread-solaris.c: Use thr_min_stack() instead of
|
* gthread/gthread-solaris.c: Use thr_min_stack() instead of
|
||||||
sysconf (_SC_THREAD_STACK_MIN). if stack_size is 0 on entry to
|
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
|
g_thread_create_solaris_impl, also pass 0 to thr_create. Otherwise
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2002-07-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
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). Merged from HEAD.
|
||||||
|
|
||||||
* gthread/gthread-solaris.c: Use thr_min_stack() instead of
|
* gthread/gthread-solaris.c: Use thr_min_stack() instead of
|
||||||
sysconf (_SC_THREAD_STACK_MIN). if stack_size is 0 on entry to
|
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
|
g_thread_create_solaris_impl, also pass 0 to thr_create. Otherwise
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2002-07-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
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). Merged from HEAD.
|
||||||
|
|
||||||
* gthread/gthread-solaris.c: Use thr_min_stack() instead of
|
* gthread/gthread-solaris.c: Use thr_min_stack() instead of
|
||||||
sysconf (_SC_THREAD_STACK_MIN). if stack_size is 0 on entry to
|
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
|
g_thread_create_solaris_impl, also pass 0 to thr_create. Otherwise
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2002-07-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
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). Merged from HEAD.
|
||||||
|
|
||||||
* gthread/gthread-solaris.c: Use thr_min_stack() instead of
|
* gthread/gthread-solaris.c: Use thr_min_stack() instead of
|
||||||
sysconf (_SC_THREAD_STACK_MIN). if stack_size is 0 on entry to
|
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
|
g_thread_create_solaris_impl, also pass 0 to thr_create. Otherwise
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2002-07-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
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). Merged from HEAD.
|
||||||
|
|
||||||
* gthread/gthread-solaris.c: Use thr_min_stack() instead of
|
* gthread/gthread-solaris.c: Use thr_min_stack() instead of
|
||||||
sysconf (_SC_THREAD_STACK_MIN). if stack_size is 0 on entry to
|
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
|
g_thread_create_solaris_impl, also pass 0 to thr_create. Otherwise
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2002-07-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
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). Merged from HEAD.
|
||||||
|
|
||||||
* gthread/gthread-solaris.c: Use thr_min_stack() instead of
|
* gthread/gthread-solaris.c: Use thr_min_stack() instead of
|
||||||
sysconf (_SC_THREAD_STACK_MIN). if stack_size is 0 on entry to
|
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
|
g_thread_create_solaris_impl, also pass 0 to thr_create. Otherwise
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2002-07-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
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). Merged from HEAD.
|
||||||
|
|
||||||
* gthread/gthread-solaris.c: Use thr_min_stack() instead of
|
* gthread/gthread-solaris.c: Use thr_min_stack() instead of
|
||||||
sysconf (_SC_THREAD_STACK_MIN). if stack_size is 0 on entry to
|
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
|
g_thread_create_solaris_impl, also pass 0 to thr_create. Otherwise
|
||||||
|
11
configure.in
11
configure.in
@ -1480,13 +1480,20 @@ if test x"$have_threads" != xno; then
|
|||||||
[Have function pthread_attr_setstacksize])],
|
[Have function pthread_attr_setstacksize])],
|
||||||
[AC_MSG_RESULT(no)])
|
[AC_MSG_RESULT(no)])
|
||||||
AC_MSG_CHECKING(for minimal/maximal thread priority)
|
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>
|
AC_EGREP_CPP(PX_PRIO_MIN,[#include <pthread.h>
|
||||||
PX_PRIO_MIN],,[
|
PX_PRIO_MIN],,[
|
||||||
posix_priority_min=PX_PRIO_MIN
|
posix_priority_min=PX_PRIO_MIN
|
||||||
posix_priority_max=PX_PRIO_MAX])
|
posix_priority_max=PX_PRIO_MAX])
|
||||||
fi
|
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>
|
AC_EGREP_CPP(PRI_OTHER_MIN,[#include <pthread.h>
|
||||||
PRI_OTHER_MIN],,[
|
PRI_OTHER_MIN],,[
|
||||||
posix_priority_min=PRI_OTHER_MIN
|
posix_priority_min=PRI_OTHER_MIN
|
||||||
|
Loading…
x
Reference in New Issue
Block a user