[glib 2.2.2] pthread_setschedparam typo?
- From: Albert Chin <gtk-devel-list thewrittenword com>
- To: gtk-devel-list gnome org
- Subject: [glib 2.2.2] pthread_setschedparam typo?
- Date: Tue, 10 Jun 2003 18:25:30 -0500
Passing first argument of pthread_setschedparam by accident? From
pthread_setschedparam(3):
int pthread_setschedparam(pthread_t target_thread, int
policy, const struct sched_param *param);
--
albert chin (china thewrittenword com)
-- snip snip
--- configure.in.orig Tue Jun 10 17:57:24 2003
+++ configure.in Tue Jun 10 18:21:23 2003
@@ -1651,7 +1653,7 @@
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)],
+ [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_MAX_PRIORITY,$posix_priority_max,[Maximum POSIX RT priority])],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]