Test for posix threads first, then for dce threads.

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.
This commit is contained in:
Sebastian Wilhelmi 1999-03-12 15:28:36 +00:00 committed by Sebastian Wilhelmi
parent 4c63008b6c
commit cc7f889607
11 changed files with 43 additions and 6 deletions

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View 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

View File

@ -614,16 +614,16 @@ if test "x$want_threads" = xyes || test "x$want_threads" = xsolaris; then
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_]],
pthread.h,
have_threads=dce)
fi
if test "x$have_threads" = xnone; then
AC_EGREP_HEADER([[^a-zA-Z_]pthread_attr_init[^a-zA-Z_]],
pthread.h,
have_threads=posix)
fi
if test "x$have_threads" = xnone; then
AC_EGREP_HEADER([[^a-zA-Z_]pthread_attr_create[^a-zA-Z_]],
pthread.h,
have_threads=dce)
fi
fi
if test "x$want_threads" = xyes || test "x$want_threads" = xnspr; then
if test "x$have_threads" = xnone; then

View 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

View 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