+1998-12-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in (have_threads): Changed the last pthread_cond_init
+ to pthread_attr_init.
+
Fri Dec 18 00:03:17 1998 Tim Janik <timj@gtk.org>
* glib.h:
+1998-12-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in (have_threads): Changed the last pthread_cond_init
+ to pthread_attr_init.
+
Fri Dec 18 00:03:17 1998 Tim Janik <timj@gtk.org>
* glib.h:
+1998-12-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in (have_threads): Changed the last pthread_cond_init
+ to pthread_attr_init.
+
Fri Dec 18 00:03:17 1998 Tim Janik <timj@gtk.org>
* glib.h:
+1998-12-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in (have_threads): Changed the last pthread_cond_init
+ to pthread_attr_init.
+
Fri Dec 18 00:03:17 1998 Tim Janik <timj@gtk.org>
* glib.h:
+1998-12-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in (have_threads): Changed the last pthread_cond_init
+ to pthread_attr_init.
+
Fri Dec 18 00:03:17 1998 Tim Janik <timj@gtk.org>
* glib.h:
+1998-12-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in (have_threads): Changed the last pthread_cond_init
+ to pthread_attr_init.
+
Fri Dec 18 00:03:17 1998 Tim Janik <timj@gtk.org>
* glib.h:
+1998-12-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in (have_threads): Changed the last pthread_cond_init
+ to pthread_attr_init.
+
Fri Dec 18 00:03:17 1998 Tim Janik <timj@gtk.org>
* glib.h:
+1998-12-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * configure.in (have_threads): Changed the last pthread_cond_init
+ to pthread_attr_init.
+
Fri Dec 18 00:03:17 1998 Tim Janik <timj@gtk.org>
* glib.h:
AC_CHECK_LIB(pthreads, pthread_attr_init, have_threads=posix)
fi
if test "x$have_threads" = xnone; then
- # dont let us be fooled by a defined pthread_cond_init
- # function in the standard c-lib, that doesn't have too mean,
- # there is full thread support, it might be a weak symbol.
AC_CHECK_FUNC(pthread_attr_init, have_threads=posix)
fi
fi
G_THREAD_LIBS="-lpthreads")
fi
if test "x$G_THREAD_LIBS" = xerror; then
- AC_CHECK_FUNC(pthread_cond_init, G_THREAD_LIBS="")
+ AC_CHECK_FUNC(pthread_attr_init, G_THREAD_LIBS="")
fi
;;
solaris)
+1998-12-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * testgthread.c (new_thread): As a joinable thread seems to be the
+ default on posix, leave the explicit setting out, as it causes
+ problems on some older platforms.
+
Wed Dec 16 22:21:33 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* gthread-posix.c: use g_free in mutex_free (from Tim Janik)
pthread_t thread;
pthread_attr_t pthread_attr;
pthread_attr_init (&pthread_attr);
- pthread_attr_setdetachstate (&pthread_attr, PTHREAD_CREATE_JOINABLE);
+ /* This is the default, it seems, so leave that out for now
+ pthread_attr_setdetachstate (&pthread_attr, PTHREAD_CREATE_JOINABLE);
+ */
pthread_create (&thread, &pthread_attr, (void *(*)(void *)) func, data);
return GUINT_TO_POINTER (thread);
}