mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
Test for pthread_setschedparam. If not existant, disable priorities.
2003-06-03 Sebastian Wilhelmi <seppi@seppi.de> * configure.in: Test for pthread_setschedparam. If not existant, disable priorities. (#104718)
This commit is contained in:
parent
5f5ab2384c
commit
70ca727d22
@ -1,3 +1,8 @@
|
|||||||
|
2003-06-03 Sebastian Wilhelmi <seppi@seppi.de>
|
||||||
|
|
||||||
|
* configure.in: Test for pthread_setschedparam. If not existant,
|
||||||
|
disable priorities. (#104718)
|
||||||
|
|
||||||
Mon Jun 2 14:18:21 2003 Owen Taylor <otaylor@redhat.com>
|
Mon Jun 2 14:18:21 2003 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
Patch from Jeffrey Stedfast <fejj@ximian.com> (#104825)
|
Patch from Jeffrey Stedfast <fejj@ximian.com> (#104825)
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2003-06-03 Sebastian Wilhelmi <seppi@seppi.de>
|
||||||
|
|
||||||
|
* configure.in: Test for pthread_setschedparam. If not existant,
|
||||||
|
disable priorities. (#104718)
|
||||||
|
|
||||||
Mon Jun 2 14:18:21 2003 Owen Taylor <otaylor@redhat.com>
|
Mon Jun 2 14:18:21 2003 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
Patch from Jeffrey Stedfast <fejj@ximian.com> (#104825)
|
Patch from Jeffrey Stedfast <fejj@ximian.com> (#104825)
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2003-06-03 Sebastian Wilhelmi <seppi@seppi.de>
|
||||||
|
|
||||||
|
* configure.in: Test for pthread_setschedparam. If not existant,
|
||||||
|
disable priorities. (#104718)
|
||||||
|
|
||||||
Mon Jun 2 14:18:21 2003 Owen Taylor <otaylor@redhat.com>
|
Mon Jun 2 14:18:21 2003 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
Patch from Jeffrey Stedfast <fejj@ximian.com> (#104825)
|
Patch from Jeffrey Stedfast <fejj@ximian.com> (#104825)
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2003-06-03 Sebastian Wilhelmi <seppi@seppi.de>
|
||||||
|
|
||||||
|
* configure.in: Test for pthread_setschedparam. If not existant,
|
||||||
|
disable priorities. (#104718)
|
||||||
|
|
||||||
Mon Jun 2 14:18:21 2003 Owen Taylor <otaylor@redhat.com>
|
Mon Jun 2 14:18:21 2003 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
Patch from Jeffrey Stedfast <fejj@ximian.com> (#104825)
|
Patch from Jeffrey Stedfast <fejj@ximian.com> (#104825)
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2003-06-03 Sebastian Wilhelmi <seppi@seppi.de>
|
||||||
|
|
||||||
|
* configure.in: Test for pthread_setschedparam. If not existant,
|
||||||
|
disable priorities. (#104718)
|
||||||
|
|
||||||
Mon Jun 2 14:18:21 2003 Owen Taylor <otaylor@redhat.com>
|
Mon Jun 2 14:18:21 2003 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
Patch from Jeffrey Stedfast <fejj@ximian.com> (#104825)
|
Patch from Jeffrey Stedfast <fejj@ximian.com> (#104825)
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2003-06-03 Sebastian Wilhelmi <seppi@seppi.de>
|
||||||
|
|
||||||
|
* configure.in: Test for pthread_setschedparam. If not existant,
|
||||||
|
disable priorities. (#104718)
|
||||||
|
|
||||||
Mon Jun 2 14:18:21 2003 Owen Taylor <otaylor@redhat.com>
|
Mon Jun 2 14:18:21 2003 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
Patch from Jeffrey Stedfast <fejj@ximian.com> (#104825)
|
Patch from Jeffrey Stedfast <fejj@ximian.com> (#104825)
|
||||||
|
@ -1690,8 +1690,14 @@ int main () {
|
|||||||
posix_priority_max=-1
|
posix_priority_max=-1
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT($posix_priority_min/$posix_priority_max)
|
AC_MSG_RESULT($posix_priority_min/$posix_priority_max)
|
||||||
|
AC_MSG_CHECKING(for pthread_setschedparam)
|
||||||
|
AC_TRY_LINK([#include <pthread.h>],
|
||||||
|
[pthread_t t; pthread_setschedparam(&t, 0, NULL)],
|
||||||
|
[AC_MSG_RESULT(yes)
|
||||||
AC_DEFINE_UNQUOTED(POSIX_MIN_PRIORITY,$posix_priority_min,[Minimum POSIX RT priority])
|
AC_DEFINE_UNQUOTED(POSIX_MIN_PRIORITY,$posix_priority_min,[Minimum POSIX RT priority])
|
||||||
AC_DEFINE_UNQUOTED(POSIX_MAX_PRIORITY,$posix_priority_max,[Maximum POSIX RT priority])
|
AC_DEFINE_UNQUOTED(POSIX_MAX_PRIORITY,$posix_priority_max,[Maximum POSIX RT priority])],
|
||||||
|
[AC_MSG_RESULT(no)
|
||||||
|
AC_MSG_WARN($POSIX_NO_PRIORITIES)])
|
||||||
fi
|
fi
|
||||||
posix_yield_func=none
|
posix_yield_func=none
|
||||||
AC_MSG_CHECKING(for posix yield function)
|
AC_MSG_CHECKING(for posix yield function)
|
||||||
|
Loading…
Reference in New Issue
Block a user