mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 10:08:56 +01:00 
			
		
		
		
	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:
		
				
					committed by
					
						
						Sebastian Wilhelmi
					
				
			
			
				
	
			
			
			
						parent
						
							4c63008b6c
						
					
				
				
					commit
					cc7f889607
				
			@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										10
									
								
								configure.in
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								configure.in
									
									
									
									
									
								
							@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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 
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user