use 0 instead of $defattr, as it isn't defined anymore on platforms using

2002-12-09  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: use 0 instead of $defattr, as it isn't defined
	anymore on platforms using -pthread and linux, where this is used,
	only uses 0 anyway and not "pthread_attr_default".
This commit is contained in:
Sebastian Wilhelmi 2002-12-09 12:22:44 +00:00 committed by Sebastian Wilhelmi
parent 87f9f15180
commit 663954b004
8 changed files with 43 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2002-12-09 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: use 0 instead of $defattr, as it isn't defined
anymore on platforms using -pthread and linux, where this is used,
only uses 0 anyway and not "pthread_attr_default".
Sun Dec 8 23:36:12 2002 Owen Taylor <otaylor@redhat.com> Sun Dec 8 23:36:12 2002 Owen Taylor <otaylor@redhat.com>
* glib/gfileutils.c (g_file_test): Guard against * glib/gfileutils.c (g_file_test): Guard against

View File

@ -1,3 +1,9 @@
2002-12-09 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: use 0 instead of $defattr, as it isn't defined
anymore on platforms using -pthread and linux, where this is used,
only uses 0 anyway and not "pthread_attr_default".
Sun Dec 8 23:36:12 2002 Owen Taylor <otaylor@redhat.com> Sun Dec 8 23:36:12 2002 Owen Taylor <otaylor@redhat.com>
* glib/gfileutils.c (g_file_test): Guard against * glib/gfileutils.c (g_file_test): Guard against

View File

@ -1,3 +1,9 @@
2002-12-09 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: use 0 instead of $defattr, as it isn't defined
anymore on platforms using -pthread and linux, where this is used,
only uses 0 anyway and not "pthread_attr_default".
Sun Dec 8 23:36:12 2002 Owen Taylor <otaylor@redhat.com> Sun Dec 8 23:36:12 2002 Owen Taylor <otaylor@redhat.com>
* glib/gfileutils.c (g_file_test): Guard against * glib/gfileutils.c (g_file_test): Guard against

View File

@ -1,3 +1,9 @@
2002-12-09 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: use 0 instead of $defattr, as it isn't defined
anymore on platforms using -pthread and linux, where this is used,
only uses 0 anyway and not "pthread_attr_default".
Sun Dec 8 23:36:12 2002 Owen Taylor <otaylor@redhat.com> Sun Dec 8 23:36:12 2002 Owen Taylor <otaylor@redhat.com>
* glib/gfileutils.c (g_file_test): Guard against * glib/gfileutils.c (g_file_test): Guard against

View File

@ -1,3 +1,9 @@
2002-12-09 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: use 0 instead of $defattr, as it isn't defined
anymore on platforms using -pthread and linux, where this is used,
only uses 0 anyway and not "pthread_attr_default".
Sun Dec 8 23:36:12 2002 Owen Taylor <otaylor@redhat.com> Sun Dec 8 23:36:12 2002 Owen Taylor <otaylor@redhat.com>
* glib/gfileutils.c (g_file_test): Guard against * glib/gfileutils.c (g_file_test): Guard against

View File

@ -1,3 +1,9 @@
2002-12-09 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: use 0 instead of $defattr, as it isn't defined
anymore on platforms using -pthread and linux, where this is used,
only uses 0 anyway and not "pthread_attr_default".
Sun Dec 8 23:36:12 2002 Owen Taylor <otaylor@redhat.com> Sun Dec 8 23:36:12 2002 Owen Taylor <otaylor@redhat.com>
* glib/gfileutils.c (g_file_test): Guard against * glib/gfileutils.c (g_file_test): Guard against

View File

@ -1,3 +1,9 @@
2002-12-09 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: use 0 instead of $defattr, as it isn't defined
anymore on platforms using -pthread and linux, where this is used,
only uses 0 anyway and not "pthread_attr_default".
Sun Dec 8 23:36:12 2002 Owen Taylor <otaylor@redhat.com> Sun Dec 8 23:36:12 2002 Owen Taylor <otaylor@redhat.com>
* glib/gfileutils.c (g_file_test): Guard against * glib/gfileutils.c (g_file_test): Guard against

View File

@ -1632,7 +1632,7 @@ void* func(void* data) {other_pid = getpid();}
main() main()
{ pthread_t t; { pthread_t t;
void *ret; void *ret;
pthread_create (&t, $defattr, func, NULL); pthread_create (&t, 0, func, NULL);
pthread_join (t, &ret); pthread_join (t, &ret);
exit (getpid()==other_pid || exit (getpid()==other_pid ||
$posix_priority_min != $posix_priority_max); $posix_priority_min != $posix_priority_max);