From: Sebastian Wilhelmi Date: Fri, 12 Mar 1999 15:28:36 +0000 (+0000) Subject: Test for posix threads first, then for dce threads. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=cc7f8896079710aeb11e65020fb68c166dd66f07;p=dana%2Fcg-glib.git Test for posix threads first, then for dce threads. 1999-03-12 Sebastian Wilhelmi * configure.in: Test for posix threads first, then for dce threads. * gthread/gthread-posix.c (g_private_get_posix_impl): Fixed typo for DCE implementation. --- diff --git a/ChangeLog b/ChangeLog index 979bc9b8..bb9f41d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +1999-03-12 Sebastian Wilhelmi + + * configure.in: Test for posix threads first, then for dce threads. + 1999-03-11 Sebastian Wilhelmi * configure.in: Revamped the thread configure stuff. Now dce diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 979bc9b8..bb9f41d6 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,7 @@ +1999-03-12 Sebastian Wilhelmi + + * configure.in: Test for posix threads first, then for dce threads. + 1999-03-11 Sebastian Wilhelmi * configure.in: Revamped the thread configure stuff. Now dce diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 979bc9b8..bb9f41d6 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,7 @@ +1999-03-12 Sebastian Wilhelmi + + * configure.in: Test for posix threads first, then for dce threads. + 1999-03-11 Sebastian Wilhelmi * configure.in: Revamped the thread configure stuff. Now dce diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 979bc9b8..bb9f41d6 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,7 @@ +1999-03-12 Sebastian Wilhelmi + + * configure.in: Test for posix threads first, then for dce threads. + 1999-03-11 Sebastian Wilhelmi * configure.in: Revamped the thread configure stuff. Now dce diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 979bc9b8..bb9f41d6 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,7 @@ +1999-03-12 Sebastian Wilhelmi + + * configure.in: Test for posix threads first, then for dce threads. + 1999-03-11 Sebastian Wilhelmi * configure.in: Revamped the thread configure stuff. Now dce diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 979bc9b8..bb9f41d6 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,7 @@ +1999-03-12 Sebastian Wilhelmi + + * configure.in: Test for posix threads first, then for dce threads. + 1999-03-11 Sebastian Wilhelmi * configure.in: Revamped the thread configure stuff. Now dce diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 979bc9b8..bb9f41d6 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,7 @@ +1999-03-12 Sebastian Wilhelmi + + * configure.in: Test for posix threads first, then for dce threads. + 1999-03-11 Sebastian Wilhelmi * configure.in: Revamped the thread configure stuff. Now dce diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 979bc9b8..bb9f41d6 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,7 @@ +1999-03-12 Sebastian Wilhelmi + + * configure.in: Test for posix threads first, then for dce threads. + 1999-03-11 Sebastian Wilhelmi * configure.in: Revamped the thread configure stuff. Now dce diff --git a/configure.in b/configure.in index 09fb8ecd..f95ebb8c 100644 --- a/configure.in +++ b/configure.in @@ -615,14 +615,14 @@ fi if test "x$want_threads" = xyes || test "x$want_threads" = xposix \ || test "x$want_threads" = xdce; then if test "x$have_threads" = xnone; then - AC_EGREP_HEADER([[^a-zA-Z_]pthread_attr_create[^a-zA-Z_]], + AC_EGREP_HEADER([[^a-zA-Z_]pthread_attr_init[^a-zA-Z_]], pthread.h, - have_threads=dce) + have_threads=posix) fi if test "x$have_threads" = xnone; then - AC_EGREP_HEADER([[^a-zA-Z_]pthread_attr_init[^a-zA-Z_]], + AC_EGREP_HEADER([[^a-zA-Z_]pthread_attr_create[^a-zA-Z_]], pthread.h, - have_threads=posix) + have_threads=dce) fi fi if test "x$want_threads" = xyes || test "x$want_threads" = xnspr; then diff --git a/gthread/ChangeLog b/gthread/ChangeLog index d733de78..3e7c2e61 100644 --- a/gthread/ChangeLog +++ b/gthread/ChangeLog @@ -1,3 +1,8 @@ +1999-03-12 Sebastian Wilhelmi + + * gthread-posix.c (g_private_get_posix_impl): Fixed typo for DCE + implementation. + 1999-03-11 Sebastian Wilhelmi * gthread-posix.c: Now handle both dce and posix threads. They are diff --git a/gthread/gthread-posix.c b/gthread/gthread-posix.c index a18a8b5e..210b906e 100644 --- a/gthread/gthread-posix.c +++ b/gthread/gthread-posix.c @@ -188,7 +188,7 @@ g_private_get_posix_impl (GPrivate * private_key) { void* data; posix_check_for_error (pthread_getspecific (*(pthread_key_t *) - private_key, &data); + private_key, &data)); return data; } #endif