Test for posix threads first, then for dce threads.
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>
Fri, 12 Mar 1999 15:28:36 +0000 (15:28 +0000)
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>
Fri, 12 Mar 1999 15:28:36 +0000 (15:28 +0000)
1999-03-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

       * 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.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
configure.in
gthread/ChangeLog
gthread/gthread-posix.c

index 979bc9b8e56df642f3628c794ea6dfbfffa6b7fc..bb9f41d62b5d35073134045b8694897c03d822d0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1999-03-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * configure.in: Test for posix threads first, then for dce threads.
+
 1999-03-11  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * configure.in: Revamped the thread configure stuff. Now dce
index 979bc9b8e56df642f3628c794ea6dfbfffa6b7fc..bb9f41d62b5d35073134045b8694897c03d822d0 100644 (file)
@@ -1,3 +1,7 @@
+1999-03-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * configure.in: Test for posix threads first, then for dce threads.
+
 1999-03-11  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * configure.in: Revamped the thread configure stuff. Now dce
index 979bc9b8e56df642f3628c794ea6dfbfffa6b7fc..bb9f41d62b5d35073134045b8694897c03d822d0 100644 (file)
@@ -1,3 +1,7 @@
+1999-03-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * configure.in: Test for posix threads first, then for dce threads.
+
 1999-03-11  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * configure.in: Revamped the thread configure stuff. Now dce
index 979bc9b8e56df642f3628c794ea6dfbfffa6b7fc..bb9f41d62b5d35073134045b8694897c03d822d0 100644 (file)
@@ -1,3 +1,7 @@
+1999-03-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * configure.in: Test for posix threads first, then for dce threads.
+
 1999-03-11  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * configure.in: Revamped the thread configure stuff. Now dce
index 979bc9b8e56df642f3628c794ea6dfbfffa6b7fc..bb9f41d62b5d35073134045b8694897c03d822d0 100644 (file)
@@ -1,3 +1,7 @@
+1999-03-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * configure.in: Test for posix threads first, then for dce threads.
+
 1999-03-11  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * configure.in: Revamped the thread configure stuff. Now dce
index 979bc9b8e56df642f3628c794ea6dfbfffa6b7fc..bb9f41d62b5d35073134045b8694897c03d822d0 100644 (file)
@@ -1,3 +1,7 @@
+1999-03-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * configure.in: Test for posix threads first, then for dce threads.
+
 1999-03-11  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * configure.in: Revamped the thread configure stuff. Now dce
index 979bc9b8e56df642f3628c794ea6dfbfffa6b7fc..bb9f41d62b5d35073134045b8694897c03d822d0 100644 (file)
@@ -1,3 +1,7 @@
+1999-03-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * configure.in: Test for posix threads first, then for dce threads.
+
 1999-03-11  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * configure.in: Revamped the thread configure stuff. Now dce
index 979bc9b8e56df642f3628c794ea6dfbfffa6b7fc..bb9f41d62b5d35073134045b8694897c03d822d0 100644 (file)
@@ -1,3 +1,7 @@
+1999-03-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * configure.in: Test for posix threads first, then for dce threads.
+
 1999-03-11  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * configure.in: Revamped the thread configure stuff. Now dce
index 09fb8ecdaa5f2ab784472f6b05115b3971f2c338..f95ebb8c22238149d245d8eb8040af0496e3806d 100644 (file)
@@ -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
index d733de78dd8bc05982ba0aa36a6d726c738a5dcd..3e7c2e614284f9a8fdd853fc78f85de811d7f48e 100644 (file)
@@ -1,3 +1,8 @@
+1999-03-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * gthread-posix.c (g_private_get_posix_impl): Fixed typo for DCE
+       implementation.
+
 1999-03-11  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * gthread-posix.c: Now handle both dce and posix threads. They are
index a18a8b5e274f1e864376f9ac0fcdca11ec42acee..210b906e7e3a12e780ca19939e7d1b0e9367b559 100644 (file)
@@ -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